antoinecarme / pyaf

PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.
BSD 3-Clause "New" or "Revised" License
459 stars 72 forks source link

Fails to load modules #59

Closed mgiangreco closed 7 years ago

mgiangreco commented 7 years ago

I installed pyaf via pip, and when I ask for packages in my environment ("conda list"), pyaf is listed.

However, when I try to import the modules I get this error:

import pyaf.ForecastEngine as autof Traceback (most recent call last):

File "", line 1, in import pyaf.ForecastEngine as autof

ImportError: No module named pyaf.ForecastEngine

antoinecarme commented 7 years ago

@mgiangreco , I do not use anything other than standard python3 and ipython, and jupyter notebook. Just checked, with ipython , it works.

Can you check your anaconda environment, to be sure that pyaf parent directory is in your PYTHONPATH ?

antoinecarme commented 7 years ago

Just ot add, travis-ci checks are OK

https://travis-ci.org/antoinecarme/pyaf

travis-ci runs a lot of scripts and checks their logs against stored versions.

Please double check your environment.

mgiangreco commented 7 years ago

I am using Python 2. Is your package compatible with Python 2?

antoinecarme commented 7 years ago

PyAF does not work with python2 !!!