How to install new python modules in windows?

0

I changed to windows recently and I'm trying to troubleshoot the module I'm trying to install and the requests I installed via pip but it's not working I think it's something related to the environment varaiavel which is the most practical way to install new modules in windows?

    
asked by anonymous 29.10.2016 / 00:15

1 answer

0

The scripts installed by the pip go to a directory (Python Directory) / Scripts, so you do not have to put the entire path in the import it is recommended that this folder be placed in your PATH in the environment variables.

  

The second (Scripts) directory receives command files when certain packages are installed, so it is very useful addition

Take a look at this guide:

  

link

It uses Python 2.7 and gives a command to set the variable directly at the prompt:

[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User")
    
29.10.2016 / 00:42