मैंने अभी एनाकोंडा 3.5 स्थापित किया है। टर्मिनल सही संस्करण से पता चलता है, और भी कोष्ठक में सातत्य एनालिटिक्स है:एनाकोंडा के बाद numpy आयात नहीं कर सकता
Python 3.5.0 |Continuum Analytics, Inc.| (default, Oct 20 2015, 14:39:26)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
हालांकि, जब मैं निम्न लिखें:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'numpy'
मुझे पता है:
>>> import numpy
मैं त्रुटि मिलती है कि एनाकोंडा numpy के साथ आता है (मैं सुनिश्चित करने के लिए conda list
भाग गया)। किसी को पता है क्या हो रहा है?
ऐसा लगता है कि मेरे .bash_profile
के साथ कुछ करने के लिए कुछ है। यदि हां, तो सामग्री का पालन करें।
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
# added by Anaconda3 2.3.0 installer
export PATH="/Users/username/anaconda/bin:$PATH"
# Setting PATH for Python 3.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH