How to install Windows-based Python extension packages?

I am working on machine learning algorithm development with imbalanced chemical structure-activity data. I need to install an interesting package, called “imbalanced-learn”. (see the documents:

The Dependencies for imbalanced-learn is shown as follows:


imbalanced-learn is tested to work under Python 2.7 and Python 3.4, 3.5, and 3.6.

  • scipy(>=0.18.1)
  • numpy(>=1.11.2)
  • scikit-learn(>=0.18.1)

Additionally, to run the examples, you need matplotlib(>=2.0.0).

As such, I have to install latest version of scipy, numpy, scikit-learn, matplotlib.

  1. Download a latest version of Python 2.7 that binds with pip function
  2.  Go to website:

You can install them via “pip install *.whl”

Alternatively, you can directly use “pip install numpy, scipy, Matplotlib”. In my case, it doesn’t work well with installing “scipy” on a 32-bit Windows machine.

3. Install scikit-learn

pip install -U scikit-learn

4. Install imbalanced-learn

pip install -U imbalanced-learn

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close