0

I tried doing the process I explained in the title, and even using the user-- method I cannot get it to install or find anything. I tried both later versions and the newer versions of the requests module in python.

Before this I tried without user and it had some error involving the fact that I had Python 2.7.

Thanks to all

U13-Forward
  • 69,221
  • 14
  • 89
  • 114

1 Answers1

0

just try

pip install --user requests

instead of Anthony type --user

--user makes pip install packages in your home directory instead, which doesn't require any special privileges. https://stackoverflow.com/a/42989020/4414156

Bonus Tip: if you are using Atom, or for the sake of any editor and you are using PYTHON, you must use virtual environments. It will keep your packages clean and prevent conflict.

https://docs.python-guide.org/dev/virtualenvs/

https://atom.io/packages/atom-python-virtualenv

Neeraj V
  • 36
  • 3