Pip Install hangs

前端 未结 2 1661
故里飘歌
故里飘歌 2021-02-20 01:38

I currently have Python 3.5 on my Windows machine. I\'m trying to install a Python package using the command "pip install" but as soon as I hit enter noth

相关标签:
2条回答
  • 2021-02-20 02:22

    @JBernardo 's comment worked for me. Thanks!

    python -m pip install some_package_you_want
    
    0 讨论(0)
  • 2021-02-20 02:22

    Try using pip programmatically like shown below.

    import pip
    
    pip.main(['install', 'the_package_you_want_installed'])
    
    0 讨论(0)
提交回复
热议问题