Reputation: 31
Whenever I try to import quandl
import quandl
this error appears
ModuleNotFoundError: No module named 'quandl'
although I checked it was installed using
pip list
and Quandl 3.5.2 was installed
Upvotes: 1
Views: 1291
Reputation: 579
Libraries that are installed using pip 3 will not work in python 2. Libraries installed with pip wont work with python 3. Make sure that you are using the right pip
or pip3
instillation technique.
Upvotes: 0
Reputation: 11523
To pip install package_name to target your 2.x python use: pip install package_name
To pip install package_name to target your 3.x python use: pip3 install package_name
Upvotes: 1
Reputation: 1196
Maybe one of this gonna help:
import Quandl
.quandl==3.4.8
.edit.
I've just tried to create new venv with quandl, and everything works.
What I've did:
deactivate
,virtualenv new_venv
,source new_venv/bin/activate
,pip install quandl
,python <scratch_dir>
.Then in PyCharm:
Upvotes: 0