question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scikit learn __version__ = '0.19.0' error

See original GitHub issue

When executing example code:


Traceback (most recent call last):
  File "/home/omar/testing_other_ml_packages/auto_ml_package.py", line 1, in <module>
    from auto_ml import Predictor
  File "/usr/local/lib/python2.7/dist-packages/auto_ml/__init__.py", line 6, in <module>
    from auto_ml.predictor import Predictor
  File "/usr/local/lib/python2.7/dist-packages/auto_ml/predictor.py", line 32, in <module>
    from auto_ml import DataFrameVectorizer
  File "/usr/local/lib/python2.7/dist-packages/auto_ml/DataFrameVectorizer.py", line 11, in <module>
    from sklearn.utils.fixes import frombuffer_empty
ImportError: cannot import name frombuffer_empty

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
calz1commented, Sep 8, 2017

If it helps other folks, you can fix this temporarily by doing:

pip uninstall scikit-learn
pip install scikit-learn==0.18.2
0reactions
omarcrcommented, Sep 16, 2017

Thanks for taking care of this Preston. Working smoothly now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release history — scikit-learn 0.19.2 documentation
This is documentation for an old release of Scikit-learn (version 0.19). Try the latest stable release (version 1.2) or development (unstable) versions.
Read more >
I install scikit-learn==0.19.1 error report, other no problem #91
I'm seeing the same issue using an older version of scikit-image, 0.14.2, so guessing it's not specific to a version or package.
Read more >
scikit-learn 0.19.0 - PyPI
A set of python modules for machine learning and data mining. ... HTML documentation (development version): http://scikit-learn.org/dev/.
Read more >
The scikit-learn version (0.19.1) used to generate this artifact ...
because you are using an older version of the classifier that does not match the latest version of the software. 1 Like. hitham_Almughram...
Read more >
Can't seem to update to sklearn 0.19 with pip? - Stack Overflow
InstallError: Error: one or more of the packages already installed depend on 'conda' and should only be installed in the root environment: conda ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found