Discussion:
[Pyzo] installation of pyzo ¨the Linux way¨ fails
g***@dehoenderkooi.nl
2017-11-04 02:47:57 UTC
Permalink
I am getting errors when following the instructions on your site:

http://www.pyzo.org/install_linux.html#install-linux

after I isued the second command I get 3 errors which are displayed here.
-The directory is not owned by the current user
-No module named setuptools
-You are using pip version 8.1.1, however version 9.0.1 is available.

***@linux99 ~ $ sudo python3 -m pip install pyzo --upgrade
The directory '/home/gerard/.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/gerard/.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.
Collecting pyzo
Downloading pyzo-4.4.3.tar.gz (1.8MB)
100% |████████████████████████████████| 1.8MB 512kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sxdf4esx/pyzo/
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


After I did the pip upgrade version pip-9.0.1 is downloaded but version 8.1.1 is installed as you can see in the next lines, and the same error comes up again.


***@linux99 ~ $ pip install --upgrade pip
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 590kB/s
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


using the sudo - H does not help either as pyzo does not get installed.


***@linux99 ~ $ sudo -H python3 -m pip install pyzo --upgrade
Collecting pyzo
Using cached pyzo-4.4.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hg8_sch8/pyzo/
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


No pyzo here


***@linux99 ~ $ pyzo
No command 'pyzo' found, did you mean:
Command 'pyzor' from package 'pyzor' (universe)
pyzo: command not found
***@linux99 ~ $
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Almar Klein
2017-11-05 11:11:13 UTC
Permalink
The pip warning should not be critical. The one about setuptools is. I
am surprised that its not installed by default, but try this:

sudo apt-get install python3-pip
or, if that does not work:
sudo apt-get install python3-setuptools
Post by g***@dehoenderkooi.nl
http://www.pyzo.org/install_linux.html#install-linux
after I isued the second command I get 3 errors which are displayed here.
-The directory is not owned by the current user
-No module named setuptools
-You are using pip version 8.1.1, however version 9.0.1 is available.
The directory '/home/gerard/.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/gerard/.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.
Collecting pyzo
Downloading pyzo-4.4.3.tar.gz (1.8MB)
100% |████████████████████████████████| 1.8MB 512kB/s
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sxdf4esx/pyzo/
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
After I did the pip upgrade version pip-9.0.1 is downloaded but version 8.1.1 is installed as you can see in the next lines, and the same error comes up again.
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 590kB/s
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
using the sudo - H does not help either as pyzo does not get installed.
Collecting pyzo
Using cached pyzo-4.4.3.tar.gz
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hg8_sch8/pyzo/
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
No pyzo here
Command 'pyzor' from package 'pyzor' (universe)
pyzo: command not found
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...