Skip to content
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

Time series add-on installation fails #1

Closed
kielhauser opened this issue Jul 14, 2016 · 15 comments
Closed

Time series add-on installation fails #1

kielhauser opened this issue Jul 14, 2016 · 15 comments

Comments

@kielhauser
Copy link

(transferred from biolab/orange3)

Orange version

3.3.6 (git revision ee294bc) on OSX 10.11 and Windows 10

Expected behaviour

The time series add-on should install without problems via the Options -> Add-on -> Orange3-Timeseries -> Install

Actual behaviour

An error is given (see attached files) both on Windows and OSX

Steps to reproduce the behavior

(see expected behaviour)

Additional info (worksheets, data, screenshots, ...)

Orange3-Timeseries_Error_Msg_Win_10.txt

Orange3-Timeseries_Error_Msg_OSX_11.11.txt

@kernc
Copy link
Contributor

kernc commented Jul 21, 2016

The solution on Windows is to install numpy, scipy, and statsmodels from prebuilt packages by Cristoph Gohlke (ensure the architecture and Python version match). E.g.

pip install numpy-1.11.1+mkl-cp34-cp34m-win32.whl \
            scipy-0.17.1-cp34-cp34m-win32.whl \
            statsmodels-0.6.1-cp34-none-win32.whl

where pip is the correct pip from the virtual environment where Orange is installed. Then, the add-on should install on Windows. Unfortunately, I don't see an easy way around on Windows.

@kielhauser
Copy link
Author

Thanks for the windows solution - for OSX i found a workaround after some trial and error: removing the binary version of orange and reinstalling it from source using python3 / pip3 (using python/pip doesn't work though)

@kernc
Copy link
Contributor

kernc commented Jul 21, 2016

On OS X, the statsmodels project provides prebuilt wheel packages for OS X. Unfortunately, they weirdly only conditionally include pandas package in the install requirements, which makes the package not installable since the pandas dependency, which should be a hard dependency, obviously, is not satisfied.
The solution is to pip install pandas before installing the add-on on OS X (with the correct pip). This may be saved altogether with the most recent version of statsmodels (==0.8.0, for which wheels are not available).

Yes, Orange3-Timeseries as well as Orange in whole requires Python 3. Thanks.

@ajdapretnar
Copy link
Collaborator

Could we somehow check the OS and perhaps remove Timeseries from the list? At least until we (hopefully) move to Anaconda?

@lmnoeme
Copy link

lmnoeme commented Nov 17, 2017

Hi, I know this is an ongoing issue, but do you think there is any chance the timeseries add-on installation can work any time soon?
I'm afraid I have no idea how to install it through Anaconda or whatever.

@kernc
Copy link
Contributor

kernc commented Nov 17, 2017

It should work if you:

  1. Download and install Orange (Standalone Miniconda installer).
  2. Go to menu Options > Settings, tab Add-ons, check "Install add-ons with conda".
  3. Go to menu Options > Add-ons and install Timeseries add-on, successfully.

@lmnoeme
Copy link

lmnoeme commented Nov 17, 2017

Thanks for your response.
That's what I did and it failed.
Same error message as decribed at biolab/orange3#1691

@kernc
Copy link
Contributor

kernc commented Nov 17, 2017

Did you do the 2. step above? The check is not there by default.

@lmnoeme
Copy link

lmnoeme commented Nov 18, 2017

Thanks for pointing that out to me.
I had skipped step 2 the first time.
I have done it this time but it still doesn(t work.
The error message is still the same.

@lmnoeme
Copy link

lmnoeme commented Nov 18, 2017

I'm using 64-bit Windows.
Can the problem stem from that?

@lmnoeme
Copy link

lmnoeme commented Nov 18, 2017

All right, I have uninstalled Orange, then installed Anaconda and reinstalled Orange from the Anaconda navigator.
It's working now.
Thanks for your support.

@lmnoeme
Copy link

lmnoeme commented Nov 30, 2017

I've just realized that Anaconda does not feature the latest version of Orange.
It currently has version 3.4.1
Do you know if there is a way to get the latest version under Anaconda?

@astaric
Copy link
Member

astaric commented Nov 30, 2017

You need to add the conda-forge channel.

https://orange.biolab.si/download/#anaconda

@processo
Copy link

Might be useful for those on Windows without any conda (Orange 3.11.0):

  1. Install Microsoft Windows SDK 7.1 (www.microsoft.com/download/details.aspx?id=8279)
  2. If setup failes with PermissionError: [WinError 5] Access is denied: 'C:\\Users\\User\\AppData\\Local\\Temp\\pip-o29stj1u-uninstall\\program files\\orange\\lib\\site-packages\\scipy\\integrate\\lsoda.pyd' run Orange as admin during setup (right click -> Run as administrator).

@ajdapretnar
Copy link
Collaborator

Solution is as suggested by @astaric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants