Liegt das an der 36.6.0 Version?
Code: Alles auswählen
100% |████████████████████████████████| 481kB 617kB/s
Installing collected packages: setuptools
Found existing installation: setuptools 20.7.0
Uninstalling setuptools-20.7.0:
Successfully uninstalled setuptools-20.7.0
Successfully installed setuptools-36.6.0
*****@***** ~/Schreibtisch $ pip install pytmx
Collecting pytmx
Using cached PyTMX-3.21.3.tar.gz
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.
*****@***** ~/Schreibtisch $ sudo pip install -U pip setuptools
The directory '/home/*****/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/*****/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
*****@***** ~/Schreibtisch $ pip install -U pip setuptools
Requirement already up-to-date: pip in /home/*****/.local/lib/python3.5/site-packages
Collecting setuptools
Using cached setuptools-36.6.0-py2.py3-none-any.whl
Installing collected packages: setuptools
Exception:
Traceback (most recent call last):
File "/home/*****/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/*****/.local/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/*****/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/*****/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/*****/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/*****/.local/lib/python3.5/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/*****/.local/lib/python3.5/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python3.5/shutil.py", line 115, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Keine Berechtigung: '/usr/local/lib/python3.5/dist-packages/easy_install.py'
*****@***** ~/Schreibtisch $ sudo pip install -U pip setuptools
The directory '/home/*****/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/*****/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
*****@***** ~/Schreibtisch $ sudo -H pip install -U pip setuptools
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
*****@***** ~/Schreibtisch $ pip install pytmx
Collecting pytmx
Using cached PyTMX-3.21.3.tar.gz
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.