0

I am trying to install the python package us without admin privileges.

I have tried pip install us in Anaconda prompt to no avail.

I have also tried the suggestion listed here: Install python modules on windows without admin rights--didn't work.

I have now downloaded the files from the site https://pypi.org/project/us/ to my desktop and need to know how to install the package from here.

I am using the Spyder IDE and Python 3.7. Is there a way to do this?

Thanks.

jvalenti
  • 604
  • 1
  • 9
  • 31
  • 1
    does it work if you install pip itself with conda and then try `pip install us` again? – curious Mar 10 '21 at 18:29
  • do you mean `conda install pip` in the anaconda prompt? `conda install pip` times out: 'connection to repo.anaconda.com timed out'. – jvalenti Mar 10 '21 at 18:30
  • pip might still be trying to install systemwide. if you install pip with conda, subsequent use of pip might be the new version of pip within the conda environment. If that makes sense. If you are on linux you could check this `which pip`, `conda install pip`, `which pip` again. If I am right first `which` will point to systemwide. Second will point to the new install in your conda environment – curious Mar 10 '21 at 18:36
  • I don't understand what you mean. – jvalenti Mar 10 '21 at 18:37
  • Try to look an the answer here: https://stackoverflow.com/questions/41060382/using-pip-to-install-packages-to-anaconda-environment I think this communicates the idea of using the pip inside conda environment – curious Mar 10 '21 at 18:43

2 Answers2

1

I do this on the daily and if I understand what you are saying you are doing it right. If pip install us in command prompt or shell (if you are using Windows OS) doesn't work try py -m pip install us. Make sure you are using command prompt and not using your IDEzenter image description here

As you can see it worked first try for me.

Fishy
  • 76
  • 7
1

Since you have downloaded the files, Extract them in a folder and normally a setup.py file must be include, open command prompt in that folder and run :

python setup.py install
Dharman
  • 30,962
  • 25
  • 85
  • 135
amer sam
  • 71
  • 3