I have a virtualenv on ubuntu, with among other things pandas working. I want to start using sklearn inside the venv, but pip install sklearn does not work. I was able to install sklearn using sudo apt-get install python-sklearn However, now it is installed in the system packages (and not inside the virtual environment).
Is there a way to get sklearn available inside the env? (I had the virtualenv activated when I installed sklearn, but that appears not to make a difference)
I looked at How can I move global packages into a virtual environment after creating a virtual environment? , but this doesn't help: pip gives errors when trying to install sklearn
Any help would be appreciated.