I canโt understand for life how to install batch statsmodels for Python 3. It looks like I tried everything, but nothing works.
Goal: import statsmodels in python
I'll start with:
pip install statsmodels
Basic error messages:
Failed bulding wheel for statsmodels. Cython is required to compile statsmodels from a development branch. Please install Cython or download a source release of statsmodels.
So I'm trying:
pip install cython
gives:
Requirement already satisfied: cython in c:users\XXX\appdata\roaming\python\python36\site-packages
I installed cython by installing anaconda. I tried almost all the answers that I could find in the main search. But everything does not seem to work.
Instead of listing the input / output of what I tried, I now show only the first steps, but let me know if you want to see the output of any commands.
How do I proceed? Any help is appreciated, I have been trying to fix this for several days now, and I'm just getting upset.
Now I am trying:
easy_install cython
It seemed to work, but then pip install statsmodels did not work.
Command ... failed with error code 1.
I tried:
git clone https://github.com/statsmodels/statsmodels cd statsmodels pip install .
And failed with a bunch of mistakes.
source share