SHARE
TWEET

Untitled

a guest Jun 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `'/usr/local/lib/python3.5/dist-packages/', '/usr/lib/python3.5/dist-packages']
  2.      
  3. sudo pip3 install --upgrade --target=/usr/local/lib/python3.5/dist-packages/ pypi
  4. sudo pip3 install --upgrade --target=/usr/lib/python3.5/dist-packages pypi
  5.      
  6. Collecting pypi
  7. Installing collected packages: pypi
  8. Successfully installed pypi-2.1
  9.      
  10. ls -lh /usr/lib/python3.5/dist-packages | grep pypi
  11. drwxr-xr-x 2 root root 4.0K Apr 25 11:03 pypi-2.1.dist-info
  12. drwxr-xr-x 2 root root 4.0K Apr 25 10:49 pypi-2.1-py3.5.egg-info
  13.      
  14. python3.5 ./setup.py install
  15. running install
  16. running build
  17. running install_egg_info
  18. Writing /usr/local/lib/python3.5/dist-packages/pypi-2.1.egg-info
  19.      
  20. import sys
  21. print(sys.path)
  22. import pypi
  23.      
  24. $ python3.5 myscrypt.py
  25. [..., '/usr/local/lib/python3.5/dist-packages','/usr/lib/python3.5/dist-packages']
  26. import pypi
  27. ImportError: No module named 'pypi'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top