How do I install a Python package with a .whl file?

后端 未结 17 1991
刺人心
刺人心 2020-11-22 00:54

I\'m having trouble installing a Python package on my Windows machine, and would like to install it with Christoph Gohlke\'s Window binaries. (Which, to my experience, allev

17条回答
  •  逝去的感伤
    2020-11-22 01:20

    The only way I managed to install NumPy was as follows:

    I downloaded NumPy from here https://pypi.python.org/pypi/numpy

    This Module

    https://pypi.python.org/packages/d7/3c/d8b473b517062cc700575889d79e7444c9b54c6072a22189d1831d2fbbce/numpy-1.11.2-cp35-none-win32.whl#md5=e485e06907826af5e1fc88608d0629a2
    

    Command execution from Python's installation path in PowerShell

    PS C:\Program Files (x86)\Python35-32> .\python -m pip install C:/Users/MyUsername/Documents/Programs/Python/numpy-1.11.2-cp35-none-win32.whl
    Processing c:\users\MyUsername\documents\programs\numpy-1.11.2-cp35-none-win32.whl
    Installing collected packages: numpy
    Successfully installed numpy-1.11.2
    PS C:\Program Files (x86)\Python35-32>
    

    PS.: I installed it on Windows 10.

提交回复
热议问题