e tu perchè hai preso quella versione che non è adatta al tuo sistema , quando è disponibile anche quella per la 16.04 come puoi ben vedere?
comunque ho provato ad installare la vecchia versione su ubuntu-mate 16.04 e mostra subito degli errori
Codice: Seleziona tutto
Selezionato il pacchetto libgflags2v5 non precedentemente selezionato.
(Lettura del database... 595070 file e directory attualmente installati.)
Preparativi per estrarre .../libgflags2v5_2.1.2-3_amd64.deb...
Estrazione di libgflags2v5 (2.1.2-3)...
Selezionato il pacchetto libgflags-dev non precedentemente selezionato.
Preparativi per estrarre .../libgflags-dev_2.1.2-3_amd64.deb...
Estrazione di libgflags-dev (2.1.2-3)...
Selezionato il pacchetto libunwind8 non precedentemente selezionato.
Preparativi per estrarre .../libunwind8_1.1-4.1_amd64.deb...
Estrazione di libunwind8 (1.1-4.1)...
Selezionato il pacchetto libgoogle-glog0v5 non precedentemente selezionato.
Preparativi per estrarre .../libgoogle-glog0v5_0.3.4-0.1_amd64.deb...
Estrazione di libgoogle-glog0v5 (0.3.4-0.1)...
Selezionato il pacchetto libgoogle-glog-dev non precedentemente selezionato.
Preparativi per estrarre .../libgoogle-glog-dev_0.3.4-0.1_amd64.deb...
Estrazione di libgoogle-glog-dev (0.3.4-0.1)...
Selezionato il pacchetto python-numpy non precedentemente selezionato.
Preparativi per estrarre .../python-numpy_1%3a1.11.0-1ubuntu1_amd64.deb...
Estrazione di python-numpy (1:1.11.0-1ubuntu1)...
Selezionato il pacchetto python-setuptools non precedentemente selezionato.
Preparativi per estrarre .../python-setuptools_20.7.0-1_all.deb...
Estrazione di python-setuptools (20.7.0-1)...
Elaborazione dei trigger per libc-bin (2.23-0ubuntu7)...
Elaborazione dei trigger per man-db (2.7.5-1)...
Configurazione di libgflags2v5 (2.1.2-3)...
Configurazione di libgflags-dev (2.1.2-3)...
Configurazione di libunwind8 (1.1-4.1)...
Configurazione di libgoogle-glog0v5 (0.3.4-0.1)...
Configurazione di libgoogle-glog-dev (0.3.4-0.1)...
Configurazione di python-numpy (1:1.11.0-1ubuntu1)...
Configurazione di python-setuptools (20.7.0-1)...
Elaborazione dei trigger per libc-bin (2.23-0ubuntu7)...
Selezionato il pacchetto singa-python non precedentemente selezionato.
(Lettura del database... 595569 file e directory attualmente installati.)
Preparativi per estrarre .../Scrivania/python-singa.deb...
Estrazione di singa-python (1.1.0)...
Configurazione di singa-python (1.1.0)...
running install
running bdist_egg
running egg_info
creating singa.egg-info
writing requirements to singa.egg-info/requires.txt
writing singa.egg-info/PKG-INFO
writing top-level names to singa.egg-info/top_level.txt
writing dependency_links to singa.egg-info/dependency_links.txt
writing entry points to singa.egg-info/entry_points.txt
writing manifest file 'singa.egg-info/SOURCES.txt'
reading manifest file 'singa.egg-info/SOURCES.txt'
writing manifest file 'singa.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/rafiki
copying rafiki/agent.py -> build/lib.linux-x86_64-2.7/rafiki
copying rafiki/__init__.py -> build/lib.linux-x86_64-2.7/rafiki
creating build/lib.linux-x86_64-2.7/singa
copying singa/image_tool.py -> build/lib.linux-x86_64-2.7/singa
copying singa/net.py -> build/lib.linux-x86_64-2.7/singa
copying singa/singa_wrap.py -> build/lib.linux-x86_64-2.7/singa
copying singa/data.py -> build/lib.linux-x86_64-2.7/singa
copying singa/converter.py -> build/lib.linux-x86_64-2.7/singa
copying singa/command.py -> build/lib.linux-x86_64-2.7/singa
copying singa/utils.py -> build/lib.linux-x86_64-2.7/singa
copying singa/metric.py -> build/lib.linux-x86_64-2.7/singa
copying singa/__init__.py -> build/lib.linux-x86_64-2.7/singa
copying singa/model.py -> build/lib.linux-x86_64-2.7/singa
copying singa/optimizer.py -> build/lib.linux-x86_64-2.7/singa
copying singa/snapshot.py -> build/lib.linux-x86_64-2.7/singa
copying singa/device.py -> build/lib.linux-x86_64-2.7/singa
copying singa/initializer.py -> build/lib.linux-x86_64-2.7/singa
copying singa/tensor.py -> build/lib.linux-x86_64-2.7/singa
copying singa/loss.py -> build/lib.linux-x86_64-2.7/singa
copying singa/layer.py -> build/lib.linux-x86_64-2.7/singa
creating build/lib.linux-x86_64-2.7/singa/proto
copying singa/proto/model_pb2.py -> build/lib.linux-x86_64-2.7/singa/proto
copying singa/proto/caffe_pb2.py -> build/lib.linux-x86_64-2.7/singa/proto
copying singa/proto/__init__.py -> build/lib.linux-x86_64-2.7/singa/proto
copying singa/proto/core_pb2.py -> build/lib.linux-x86_64-2.7/singa/proto
copying singa/proto/io_pb2.py -> build/lib.linux-x86_64-2.7/singa/proto
copying singa/_singa_wrap.so -> build/lib.linux-x86_64-2.7/singa
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/singa
creating build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/proto/model_pb2.py -> build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/proto/caffe_pb2.py -> build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/proto/__init__.py -> build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/proto/core_pb2.py -> build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/proto/io_pb2.py -> build/bdist.linux-x86_64/egg/singa/proto
copying build/lib.linux-x86_64-2.7/singa/image_tool.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/net.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/singa_wrap.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/data.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/converter.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/command.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/utils.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/metric.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/__init__.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/model.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/optimizer.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/snapshot.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/device.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/initializer.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/_singa_wrap.so -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/tensor.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/loss.py -> build/bdist.linux-x86_64/egg/singa
copying build/lib.linux-x86_64-2.7/singa/layer.py -> build/bdist.linux-x86_64/egg/singa
creating build/bdist.linux-x86_64/egg/rafiki
copying build/lib.linux-x86_64-2.7/rafiki/agent.py -> build/bdist.linux-x86_64/egg/rafiki
copying build/lib.linux-x86_64-2.7/rafiki/__init__.py -> build/bdist.linux-x86_64/egg/rafiki
byte-compiling build/bdist.linux-x86_64/egg/singa/proto/model_pb2.py to model_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/proto/caffe_pb2.py to caffe_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/proto/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/proto/core_pb2.py to core_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/proto/io_pb2.py to io_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/image_tool.py to image_tool.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/net.py to net.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/singa_wrap.py to singa_wrap.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/data.py to data.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/converter.py to converter.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/command.py to command.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/metric.py to metric.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/model.py to model.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/optimizer.py to optimizer.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/snapshot.py to snapshot.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/device.py to device.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/initializer.py to initializer.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/tensor.py to tensor.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/loss.py to loss.pyc
byte-compiling build/bdist.linux-x86_64/egg/singa/layer.py to layer.pyc
byte-compiling build/bdist.linux-x86_64/egg/rafiki/agent.py to agent.pyc
byte-compiling build/bdist.linux-x86_64/egg/rafiki/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying singa.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
singa.singa_wrap: module references __file__
creating dist
creating 'dist/singa-1.1.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing singa-1.1.0-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/singa-1.1.0-py2.7.egg
Extracting singa-1.1.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding singa 1.1.0 to easy-install.pth file
Installing singa script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/singa-1.1.0-py2.7.egg
Processing dependencies for singa==1.1.0
Searching for pillow>=2.3.0
Reading https://pypi.python.org/simple/pillow/
Best match: Pillow 4.1.0
Downloading https://pypi.python.org/packages/80/38/5cb561c68155834c596018c47caa44da88ed34b09579b921c0e493fb06c7/Pillow-4.1.0.tar.gz#md5=d040e1155b4d9d8b011aab67ee0ea86b
Processing Pillow-4.1.0.tar.gz
Writing /tmp/easy_install-0W1Scs/Pillow-4.1.0/setup.cfg
Running Pillow-4.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0W1Scs/Pillow-4.1.0/egg-dist-tmp-6RU9TI
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_innerException in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 754, in run
File "/usr/lib/python2.7/multiprocessing/pool.py", line 330, in _handle_workers File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
<type 'exceptions.TypeError'>: 'NoneType' object is not callable File "/usr/lib/python2.7/threading.py", line 754, in run
Exception File "/usr/lib/python2.7/multiprocessing/pool.py", line 366, in _handle_tasks
TypeError<type 'exceptions.TypeError'>: 'NoneType' object is not callable:
TypeError("'NoneType' object does not support item deletion",) in <Finalize object, dead> ignored
Traceback (most recent call last):
File "setup.py", line 99, in <module>
'singa=singa.command:main',
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 414, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 644, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 695, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 740, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 826, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1092, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1104, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 663, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 693, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 873, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1101, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1087, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 246, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 243, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 273, in run
return func()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 242, in runner
_execfile(setup_script, ns)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-0W1Scs/Pillow-4.1.0/setup.py", line 756, in <module>
setuptools.sandbox.UnpickleableException: [color=#FF0000]RequiredDependencyException('\n\nThe headers or library files could not be found for zlib,\na required dependency when compiling Pillow from source.\n\nPlease see the install instructions at:\n https://pillow.readthedocs.io/en/latest/installation.html\n\n',)
dpkg: errore nell'elaborare il pacchetto singa-python (--install):
il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1[/color]
come puoi vedere in fondo al codice. Io sono riuscito a rimuovere quei pacchetti, anche se non è proprio facile eliminare completamente tutto. A me erano rimasti due files di configurazione singa-python che sono dovuto andare a cancellarli a mano nel sistema. Poi sono riuscito a ripulire completamente il sistema. Non so perchè tu non riesca a sistemare.