2016-12-10 19 views
0

그래서 Quandl 패키지를 사용하여 데이터 처리를 배우고 싶었습니다. 나는 PyCharm 패키지에 Quandl을 설치했고, 꽤 잘 작동했다.라이브러리 패키지가 모듈 PyCharm에 없는데 (이미 설치 한 경우에도)

import Quandl, math 

와 다음, 내가 인터넷

data = Quandl.get('some form of data') 

그러나 일부 데이터를 얻을 수있는 Quandl를 사용하는 나는 파이썬 스크립트

내 PyCharm 인터프리터에서
bash-3.2$ python Regression.py 
Traceback (most recent call last): 
    File "Regression.py", line 2, in <module> 
    import Quandl, math 
ImportError: No module named Quandl 

을 실행하려고 할 때, 저는 4 가지 유형이 있습니다 :

-2.7.11 (/usr/local/Cellar/python/2.7.11/Fra 3.5.1 (/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework - meworks/Python.framework/버전/2.7/빈/python2.7) 는 여기

을 Quandl 설치 2.6.9 (/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6) - /Versions/3.5/bin/python3.5) 나는 여기

그것을 설치 포장 도구를 설치하는 데 오류가 있습니다.

-/System/Library/Frameworks/Python.fr amework/버전/2.7/빈/python2.7 내가 파이썬 쉘을 통해 터미널에 Quandl를 가져올했을 때

설치를 거부 권한, 나는 또한

Python 2.7.10 (default, Oct 23 2015, 19:19:21) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import Quandl 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
ImportError: No module named Quandl 

가 나는 또한 시도 오류를 은퇴 Simple CV의 경우와 마찬가지로, 3.5와 2.7 모두에 이미 설치 했더라도 모듈에는 없다고합니다.

from SimpleCV import Camera 

cam = Camera() 

while True: 

    img = cam.getImage() 

    img = img.binarize() 

    img.drawText("Hello World") 

    img.show() 


bash-3.2$ python simplecv.py 
Traceback (most recent call last): 
    File "simplecv.py", line 1, in <module> 
    from SimpleCV import Camera 
ImportError: No module named SimpleCV 

'pip'설치시 PyCharm 터미널에 설치하는 중 오류가 발생했습니다. 이미 대한 질문을 한 것이 Installing pip in Pycharm 2016.3

+0

사용중인 인터프리터에 설치해야합니다 : https://pypi.python.org/pypi/Quandl – thebjorn

+0

많은 Python 버전이 설치되어 있고 PyCharm이 console과 다른 Python을 사용할 수 있습니다 . 모든 버전은 오직 자신의 모듈을 사용하므로 양쪽 버전 모두에'Quandl'을 설치해야합니다. – furas

+0

Pycharm 인터프리터에는 4 가지 유형이 있습니다. – Imperator123

답변

0

명령 프롬프트 입력에가는보십시오 : 당신이 핍이없는 경우

pip install quandl 

이 작동하지 않을 수 있습니다,하지만해볼 가치.

0

import Quandl 대신 import quandl을 사용하십시오.
저는 Quandl과 비슷한 문제에 직면했습니다.