I am new at python programing language, I want to install .whl file with pip but it doesn`t happen... I am trying to download pyHook for 64-bit windows 7 for python 3.6 or 2.7.
Please help me!
I am new at python programing language, I want to install .whl file with pip but it doesn`t happen... I am trying to download pyHook for 64-bit windows 7 for python 3.6 or 2.7.
Please help me!
Method 1
As already answered here, you simply have to use pip command to install whl file as well,
pip install some-package.whl
assuming .whl file is in the same directory you are running command from, if not just provide the complete path like
pip install C:\somedir\mypackage.whl
Method 2
Alternatively you can unzip the .whl
file using 7-zip. Then in the unzipped directory you will find the module which you can copy and paste in the directory C:/Python34/Lib/site-packages/ (or wherever else you have installed Python). as already anwered here
This method only works if there is not extension module to be compiled, therefore in this case it won't work as pointed out by @roland-smith