-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import name 'six' from 'sklearn.externals' (/opt/anaconda3/lib/python3.7/site-packages/sklearn/externals/__init__.py) #375
Comments
Seems related to #355. Please be sure to search our closed issues and fill out the entire issue template next time you open an issue! A couple questions:
If you are using Conda, stop. The release that is published to Conda is not official or supported by us; someone took the code for version 1.2.0 and published it themselves. The only supported way to install pmdarima is To clarify, you can use |
Just realized your issue title indicates you are using Conda. Try |
in the environment of my conda I opened terminal and typed |
Did you uninstall the conda one first? Try the following: conda remove pmdarima
pip install pmdarima
python -c "import pmdarima; pmdarima.show_versions()" |
God... thanks it working now! |
I ran into the same problem as the topic starter. Any chance you can release the latest version there as well or have the unofficial one removed? |
We have requested help on #326, but none of us are conda experts and cannot get it working properly. If you, or someone you know, has experience with conda, we are more than happy to accept PRs both here and in pmdarima-conda.
We cannot remove the unofficial version as the publisher is not affiliated with us; it is within his rights as part of our license to republish. |
It has been 2 days that I am trying to import pmdarima. But I can not I keep getting this error:
cannot import name 'six' from 'sklearn.externals' (/opt/anaconda3/lib/python3.7/site-packages/sklearn/externals/__init__.py)
I imported six separately but nothing changed. I am using Mac .os64, in Jupyter Notebook python 3.7
The text was updated successfully, but these errors were encountered: