quandl / quandl-python

MIT License
1.39k stars 340 forks source link

ImportError: No module named 'inflection' #101

Closed johnhillescobar closed 6 years ago

johnhillescobar commented 6 years ago

Hi.

I tried to import quandl but I received this Traceback error: "ImportError: No module named 'inflection'" I reviewed your folder and found no file called inflection.py.

This is the message detail:

Traceback (most recent call last): File "<pyshell#41>", line 1, in import quandl File "C:\Python35\lib\site-packages\quandl__init__.py", line 7, in from .model.database import Database File "C:\Python35\lib\site-packages\quandl\model\database.py", line 11, in from quandl.connection import Connection File "C:\Python35\lib\site-packages\quandl\connection.py", line 5, in from .util import Util File "C:\Python\Python35\lib\site-packages\quandl\util.py", line 1, in from inflection import parameterize ImportError: No module named 'inflection

mbasset commented 6 years ago

Hi @johnhillescobar,

Can you give us more information about how you installed python and our plugin? Inflection should be installed as a dependency.

mbasset commented 6 years ago

HI @johnhillescobar ,

We haven't heard back from you. If this issue is still a problem please feel free to re-open and send us more information about your installation.

Yarah24 commented 6 years ago

I am having the same issue. I installed quandl with "pip3 install quandl" in cmd then in my .py file in PyCharm I do an import on quandl then I use df = quandl.get("WIKI/AMZN") and get the following logging:

Traceback (most recent call last): File "C:/Users/Gebruiker/.PyCharmEdu2018.1/config/scratches/scratch_2.py", line 1, in import quandl File "C:\Users\Gebruiker\PycharmProjects\trackers\venv\lib\site-packages\quandl__init__.py", line 7, in from .model.database import Database File "C:\Users\Gebruiker\PycharmProjects\trackers\venv\lib\site-packages\quandl\model\database.py", line 11, in from quandl.connection import Connection File "C:\Users\Gebruiker\PycharmProjects\trackers\venv\lib\site-packages\quandl\connection.py", line 5, in from .util import Util File "C:\Users\Gebruiker\PycharmProjects\trackers\venv\lib\site-packages\quandl\util.py", line 1, in from inflection import parameterize ModuleNotFoundError: No module named 'inflection'

Process finished with exit code 1

Seems like there is missing a module.

sneddonisaac commented 4 years ago

I am also getting this: Traceback (most recent call last): File "/Users/isaac/Work/Code/new.py", line 3, in import quandl File "/Library/Python/2.7/site-packages/Quandl-3.5.2-py2.7.egg/quandl/init.py", line 7, in from .model.database import Database File "/Library/Python/2.7/site-packages/Quandl-3.5.2-py2.7.egg/quandl/model/database.py", line 5, in import quandl.model.dataset File "/Library/Python/2.7/site-packages/Quandl-3.5.2-py2.7.egg/quandl/model/dataset.py", line 1, in from quandl.operations.get import GetOperation File "/Library/Python/2.7/site-packages/Quandl-3.5.2-py2.7.egg/quandl/operations/get.py", line 1, in from inflection import singularize ImportError: No module named inflection