snippetpythonCritical
How do I install a Python package with a .whl file?
Viewed 0 times
howpythonfilepackagewhlinstallwith
Problem
I'm trying to install a Python package on Windows, using Christoph Gohlke's Windows binaries here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype
The package is made available here as a
http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype
The package is made available here as a
.whl file. How do I install that?Solution
I just used the following which was quite simple. First open a console then cd to where you've downloaded your file like some-package.whl and use
Note: if pip.exe is not recognized, you may find it in the "Scripts" directory from where python has been installed. If pip is not installed, this page can help:
How do I install pip on Windows?
Note: for clarification
If you copy the
pip install some-package.whlNote: if pip.exe is not recognized, you may find it in the "Scripts" directory from where python has been installed. If pip is not installed, this page can help:
How do I install pip on Windows?
Note: for clarification
If you copy the
*.whl file to your local drive (ex. C:\some-dir\some-file.whl) use the following command line parameters -- pip install C:/some-dir/some-file.whlCode Snippets
pip install some-package.whlpip install C:/some-dir/some-file.whlContext
Stack Overflow Q#27885397, score: 1546
Revisions (0)
No revisions yet.