Last active
February 9, 2022 21:34
-
-
Save japsu/6064e85c33c0ff2e7ad8 to your computer and use it in GitHub Desktop.
Revisions
-
japsu revised this gist
Feb 9, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # ARCHIVED: How to get NumPy and SciPy working in a virtualenv under Mac OS X **Please don't use this method any more, this is ages old (2014, Python 2.7).** Assuming you use `virtualenv` for Python library hygiene. Now you want Numpy and Scipy in your project. -
japsu revised this gist
Feb 9, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # ARCHIVED: How to get NumPy and SciPy working in a virtualenv under Mac OS X **Please don't use this method any more, this is ages old.** Assuming you use `virtualenv` for Python library hygiene. Now you want Numpy and Scipy in your project. -
Santtu Pajukanta revised this gist
Oct 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # How to get NumPy and SciPy working in a virtualenv under Mac OS X Assuming you use `virtualenv` for Python library hygiene. Now you want Numpy and Scipy in your project. NumPy and SciPy can not be easily installed under Mac OS X with a simple -
Santtu Pajukanta revised this gist
Oct 20, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # How to get NumPy and SciPy working in a virtualenv under Mac OS X Assuming you use Virtualenv for Python library hygiene. Now you want Numpy and Scipy in your project. NumPy and SciPy can not be easily installed under Mac OS X with a simple -
Santtu Pajukanta created this gist
Oct 20, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ Assuming you use Virtualenv for Python library hygiene. Now you want Numpy and Scipy in your project. NumPy and SciPy can not be easily installed under Mac OS X with a simple pip install scipy due to heavy dependencies. However, [homebrew-python](https://github.com/homebrew/homebrew-python) provides them as recipes. Therefore you can 1. install `numpy` and `scipy` from `homebrew-python` 2. symlink them into a virtualenv Try it: brew install homebrew/python/scipy python -m virtualenv venv-playground ln -s /usr/local/lib/python2.7/site-packages/{numpy,scipy}* venv-playground/lib/python2.7/site-packages/ source venv-playground/bin/activate pip freeze You should see something like this: numpy==1.9.0 scipy==0.14.0 wsgiref==0.1.2