2014-08-29 19:01 GMT+01:00 Amita Misra <[email protected]>:
> Thanks it works now!.
>
> I have one more question regarding virtual environment. If I use virtual
> environment then how can I use scikit, since if I follow the steps as
> mentioned above ,it installs the packages in
>
> /usr/local/Cellar/. Even though I activate virtual environment but
>
> brew install numpy installs it in  /usr/local/Cellar/ and not my virtual
> environment.
>
> If I do pip install numpy , then it installs in my virtual environment in
> the directory
>
> /Users/user_name/.virtualenvs/virtual_env_name/lib/python2.7/site-packages/numpy
> .

So this is exactly what you want, no?

> Is there a way to install numpy, scipy and scikit-learn in virtual
> environment .

Activate the virtual env and then run "pip install numpy scipy scikit-learn".

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to