Ich benutze Ubuntu 14.04 LTS, 64-Bit. Ich habe Python3.5.1 Gzipped Tarball-Quelle von https://www.python.org/downloads/release/python-351/ heruntergeladen.Python3.5 ImportError: libpython3.5m.so.1.0: Gemeinsame Objektdatei kann nicht geöffnet werden: Keine solche Datei oder Verzeichnis
installiert Dann
./configure
sudo make install
Dann aktualisiere ich pip von
sudo pip install --upgrade pip
es pip auf 8.1.2 mit Upgrade, das die neueste Version ist. installiert Dann Paket matplotlib
sudo pip install --upgrade matplotlib
Jetzt verwenden, wenn ich matplotlib in Python zu importieren, ich
bekommenPython 3.5.1 (default, Jun 9 2016, 14:37:08)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/site-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/usr/local/lib/python3.5/site-packages/matplotlib/colorbar.py", line 32, in <module>
import matplotlib.artist as martist
File "/usr/local/lib/python3.5/site-packages/matplotlib/artist.py", line 14, in <module>
from .transforms import (Bbox, IdentityTransform, TransformedBbox,
File "/usr/local/lib/python3.5/site-packages/matplotlib/transforms.py", line 39, in <module>
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
Bitte beraten, wie dieses Problem beheben?
Vielen Dank.
Beispiel für libpython3.5m.so.1.0 in einem Ubuntu-Paket: '/ usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0' http://packages.ubuntu.com/xenial/ amd64/libpython3.5/filelist ... ist also nicht in/usr/local/[hidden-location] zu finden, außer du zeigst darauf. - –
Ich ging einfach zu/usr/lib/x86_64-linux-gnu /, libpython3.5m.so.1.0 ist nicht da –