Windows 10 and pip upgrading - Access denied

前端 未结 4 1345
自闭症患者
自闭症患者 2020-12-10 16:51

I have done a fresh Windows 10 install, installed python, cygwin and a improved console called ConEmu. After installing python 3.4.3 I execute:

pip install -         


        
相关标签:
4条回答
  • 2020-12-10 17:02

    As discussed here, it's a Windows limitation. In brief, the pip.exe file is in use and thus locked and can't be deleted. Use python -m pip install --upgrade pip.

    0 讨论(0)
  • 2020-12-10 17:04

    My first choice in the same situation is to start console with administrator rights. You can do that from start menu or if you are using ConEmu / Cmder, just run new instance / tab as administrator.

    0 讨论(0)
  • 2020-12-10 17:04

    I had the same problem. It worked if you run cmd "as administrator" by right-clicking.

    0 讨论(0)
  • 2020-12-10 17:07

    Try using this

    python -m pip install --user --upgrade pip
    
    0 讨论(0)
提交回复
热议问题