简体   繁体   中英

unable to use pip for installing python packages

I have just installed python 3.4, including pip, on a win64 machine.
When trying to use pip to install a package, I encounter a strange error.
I'm running:

pip install packagename  

and get:

 Can't locate pip.pm in @INC...   

This looks like a perl error to me. I do have perl installed on my machine, but why is windows trying to invoke perl?
Waiting for your advice,
Thanks!

I think you have installed pip perl module , and it added the pip perl tool in your PATH variable (in upper place than pip from python). So, if you don't use that perl module, you can delete it, or call the python pip tool with the complete path

OK, so what did it for me was changing the name of the pip file found somewhere on my drive to pip_pm. This convinced windows to just use the python pip command. Thanks for your help anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM