Forums

Pip

I am trying to use pandas_datareader module from pypi, but I am having trouble installing it through pip on pythonanywhere.

I tried: pip3 install pandas_datareader and pip install pandas_datareader

But both had errors like this: ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages/pandas_datareader' Consider using the --user option or check the permissions.

Has anyone used pandas_datareader in the past? How can I fix this error? Thanks in advance.

Consider using the --user option.

Run pip3 install pandas_datareade --user

That did it, I putting the --user in the wrong spot, I was trying to do (--user pip install pandas_datareader) Thank you!