Benutzer-Werkzeuge

Webseiten-Werkzeuge


aos-r8-omniswitch-python-pip

Installation von Python Bibliotheken via pip

Muss vom "admin" aus "su"-Modus ausgeführt werden

Sonst gibt es diese Fehlermeldung:

Router-> python3 -m ensurepip
Looking in links: /tmp/tmppvasy40i
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '//bin/easy_install-3.7'
Consider using the `--user` option or check the permissions.

Lösung:

Router-> su
Entering maintenance shell. Type 'exit' when you are done.
VINDHYA #-> python3 -m ensurepip
The directory '/flash/.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 '/flash/.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.
Looking in links: /tmp/tmpoeop2_1_
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-19.0.3 setuptools-40.8.0
aos-r8-omniswitch-python-pip.txt · Zuletzt geändert: 2024/06/09 10:29 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki