Closed justmisam closed 6 years ago
@misamplus
Thanks for the report.
There seems to be something wrong with your installation. You are installing pyaf in a user directory. please use the install instructions documented on pyaf github page (pip install ... etc).
Using pyaf in a user directory as root is not really recommended. I cannot guarantee that pyaf will not destroy your system in this case ;)
Please create a user and define a PYTHONPATH that contains the pyaf directory :
export PYTHONPATH=pyaf_parent_directroy
or use pip install method.
I installed it by pip.
I try again as non root user and installing by pip but I got those errors yet!
I think there are some problems in 'SignalDecomposition.py', cause other files imported correctly but whet it try to import "SignalDecomposition"...
travis-ci autoamted tests seem OK today :
https://travis-ci.org/antoinecarme/pyaf
It is using the follwing versions :
0.81s$ python ./tests/bugs/issue_36/display_version_info.py
[('matplotlib_version', '2.1.0'), ('numpy_version', '1.13.3'), ('pandas_version', '0.21.0'), ('pydot_version', '1.2.3'), ('python_implementation', 'CPython'), ('python_version', '3.6.3'), ('scipy_version', '1.0.0'), ('sklearn_version', '0.19.1'), ('sqlalchemy_version', '1.1.15'), ('system_platform', 'Linux-4.9.6-040906-generic-x86_64-with-debian-jessie-sid'), ('system_processor', 'x86_64'), ('system_uname', uname_result(system='Linux', node='travis-job-antoinecarme-pyaf-309054444.travisci.net', release='4.9.6-040906-generic', version='#201701260330 SMP Thu Jan 26 08:32:10 UTC 2017', machine='x86_64', processor='x86_64'))]
it also uses 3.6 python, can you please update your python (3.4 is quite old) ?
Just a question, can you please check if you have an old version lying around ? when installed using pip, pyaf is copied in a directory $HOME/.local/lib/python3.6/site-packages/pyaf and not in $HOME/pyaf.
Thanks, It's ok with python 3.6! 🤔
For other people that may have this problem:
I removed all other python3 packages:
apt-get remove python3*
Add this line to "/etc/apt/sources.list":
deb http://ftp.de.debian.org/debian testing main
Install python 3.6:
apt-get -t testing install python3.6
Install pip3:
apt-get install python3.6-pip
Install the requirements:
pip3 install scipy pandas sklearn matplotlib pydot dill pathos sqlalchemy
Install pyaf:
pip3 install --upgrade git+git://github.com/antoinecarme/pyaf.git
And everything is OK!
Glad to see that\s OK. Thank you on behalf of Debian users.
Enjoy!!!
Hi, When I want import 'pyaf.ForecastEngine', I get this errors:
Output of 'platform_info.py':