Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (47.6k points)

I'm having trouble installing a Python package (specifically, JPype1 0.5.7) on my Windows machine, and would like to install it with Christoph Gohlke's Window binaries. (Which, to my experience, alleviated much of the fuss for many other package installations.)

However, while Christoph used to provide .exe files in the past, recently it seems he's uploading .whl files instead.

http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype

But how do I install .whl files?

2 Answers

0 votes
by (106k points)

It is very easy to install a Python package with a.whl file to do so you first need to open a console then cd to where you've downloaded your file like some-package.whl and use the below-mentioned command:-

pip install some-package.whl

If you wish to learn more about Python, visit the Python tutorial and Python course by Intellipaat.

0 votes
by (20.3k points)

If you want to install it from the wheel, then keep the directory where the wheel is downloaded. 

Let's see how to do it: 

Install package_name.whl

Now, use this:

pip install --use-wheel --no-index --find-links=/where/its/downloaded package_name

But, ensure that you have updated pip first to enable wheel support:

pip install --upgrade pip

Browse Categories

...