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

后端 未结 17 2002
刺人心
刺人心 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:25

    There's a slight difference between accessing the .whl file in python2 and python3.In python3 you need to install wheel first and then you can access .whl files.

    Python3

    pip install wheel
    

    And then by using wheel

    wheel unpack some-package.whl
    

    Python2

    pip install some-package.whl
    

提交回复
热议问题