python - OSX installing numpy via brew for python3 -


i can't install numpy python3 via brew.

i type:

brew install numpy --with-python3 

then it's ok python2

python 2.7.6 (default, sep  9 2014, 15:04:36)  [gcc 4.2.1 compatible apple llvm 6.0 (clang-600.0.39)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import numpy >>> 

but still not found python3

python 3.4.0 (v3.4.0:04f714765c13, mar 15 2014, 23:02:41)  [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import numpy traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named 'numpy' >>> 

how make work python3 ?

the correct way install via:

pip3 install numpy 

obviously, need install python3 , pip first. tested , works without problem.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -