ariddell / tatom

Quantitative Text Analysis for the digitale Geisteswissenschaften
https://de.dariah.eu/tatom/
47 stars 17 forks source link

Installation of sklearn for Python3 on Linux #6

Closed christofs closed 10 years ago

christofs commented 10 years ago

I've been having problems with the installation of scikit-learn in Ubuntu 14.04. This seems to be a known issue; see here: http://askubuntu.com/questions/449326/installation-error-in-sklearn-for-python3.

Quote: "There's an issue with the pre-compiled Cython C files (compatibility with Python 3.4.0) with the pypi version. To properly install scikit-learn, use the git repo instead (tested ok on 14.04): sudo pip3 install git+https://github.com/scikit-learn/scikit-learn.git"

This is what I've tried and despite a lot of warnings, in the end sklearn seemed to have been installed.

Maybe this could be added to the "Installing Python packages" section.

ariddell commented 10 years ago

I should update the instructions in general, I think. The recommended approach should be to use the ubuntu/debian packages whenever possible. I suspect that the Ubuntu packages will be updated before too long.

ariddell commented 10 years ago

I believe this is fixed now. You can pip install scikit-learn on Python 3.4