turtle
turtle

Reputation: 8093

Installed NumPy successfully, but not accessible with virtualenv

I have successfully install NumPy on Ubuntu; however when inside a virtualenv, NumPy is not available. I must be missing something obvious, but I do not understand why I can not import NumPy when using python from a virtualenv. Can anyone help? I am using Python 2.7.3 as my system-wide python and inside my virtualenv. Thanks in advance for the help.

Upvotes: 0

Views: 622

Answers (1)

eomer
eomer

Reputation: 397

You have to install it inside of your virtual environment. The easiest way to do this is:

  1. source [virtualenv]/bin/activate
  2. pip install numpy

Upvotes: 2

Related Questions