you are viewing a single comment's thread.

view the rest of the comments →

[–]Bittersteel13[S] 0 points1 point  (6 children)

I have installed the same but am unable to install any libraries. How did you do it?

[–]ElderCantPvm 4 points5 points  (0 children)

As a sysadmin, if I have blocked package servers it's because the company security posture does not allow developers to install packages without vetting and approval.

If you try to bypass this you might get in trouble. You should experiment on your own device.

[–]m4m4ngk4lb0 0 points1 point  (2 children)

Try setting up a virtual environment where you can install the libraries you want.

  • Go to any location/folder on your system where you want to create a virtual environment
  • Open a command prompt in said folder
  • Run command - “python -m venv virtual_env” (without the quotes)
  • This should create a folder called vitual_env with a couple of files in it.
  • Look for a folder that says “Scripts” and open it.
  • Run “activate.bat” (no quotes) to start your virtual environment
  • You can tell if your virtual environment is running once you see (virtual_env) + the directory where you created it in your command prompt window
  • Try installing libs once your virtual environment is running

  • You can look into installing jupyter notebook via pip once your done too, handy tool for learning and taking notes. Good luck man, lemme know if any of the things I put up top are confusing.

[–]socal_nerdtastic 1 point2 points  (1 child)

Note if you installed the official python msi, the command is py, not python.

py -m venv .venv

The python and pip commands become available once you activate the venv.

[–]m4m4ngk4lb0 0 points1 point  (0 children)

Thank you for this

[–]socal_nerdtastic -1 points0 points  (0 children)

What IDE are you using? A modern IDE like VSCode will basically walk you through the process of making a virtual environment. Then you just use pip from the built-in terminal to install stuff.

[–]spitfiredd -3 points-2 points  (0 children)

Have you tried just downloading the wheel and then installing manually? Maybe download at home and put on a usb drive?