Giter Site home page Giter Site logo

Comments (10)

PrimozGodec avatar PrimozGodec commented on June 16, 2024

orange3-timseries has severe problems with lxml library with some wheels missing:

  • MacOS with Intel processor: lxml build wheels for MacOS SDK 11. Our old installer (for versions <=3.35) included Python built on SDK 10.9. Solution: install a new version of Orange since our new Intel installer fixes the issue. It uses Python built on SDK 11.
  • MacOS with Apple silicon processor: lxml doesn't provide wheels for ARM for Python <=3.10, which causes problems in our installer. We asked them to provide those wheels: https://bugs.launchpad.net/lxml/+bug/1980575. We are waiting for a response.

from orange3-timeseries.

wvdvegte avatar wvdvegte commented on June 16, 2024

So, how does that explain that the Timeseries add-on is present on my Silicon Mac? Does it mean that, unknowingly, I'm running 3.36 for Intel processors through Rosetta 2? If that is the case, I guess I should suggest to my friend that he downloads and installs the Intel version of 3.36 ...

from orange3-timeseries.

PrimozGodec avatar PrimozGodec commented on June 16, 2024

There may be two reasons:

  • you are running the Orange 3.36.1 (from Orange 3.36.1 Installer for Intel) through Rosetta.
  • you have appropriate libraries to build LXML on your computer.

So until we (I'm looking into how to get rid of LXML) or LXML solve the problem, the solutions are:

  • Use Orange Intel installer even though you are having Apple silicon. We noticed some problems with this installer on Apple Silicon after updating Python, so it may not work for some.
  • Use the Apple silicon installer and install appropriate libraries to build lxml before installing Time Series addon:
    brew install automake libtool
    /Applications/Orange.app/Contents/MacOS/pip install cython
    

from orange3-timeseries.

wvdvegte avatar wvdvegte commented on June 16, 2024

I'm running 3.36.2 so it must be the second reason. I'm not aware of having ever installed "appropriate libraries to build LXML on your computer", at least not consciously, because I don't even know what LXML is ...

from orange3-timeseries.

kraaidelft avatar kraaidelft commented on June 16, 2024

brew install automake libtool
/Applications/Orange.app/Contents/MacOS/pip install cython

Doesn't work, I get a:
Error: Git must be installed and in your PATH!
/usr/local/Homebrew/Library/Homebrew/version.rb:368:in `initialize': Version value must be a string; got a NilClass () (TypeError)

from orange3-timeseries.

kraaidelft avatar kraaidelft commented on June 16, 2024
  • Use Orange Intel installer even though you are having Apple silicon. We noticed some problems with this installer on Apple Silicon after updating Python, so it may not work for some.

Orange3 doesn't startup at all.

from orange3-timeseries.

kraaidelft avatar kraaidelft commented on June 16, 2024
  • MacOS with Intel processor: lxml build wheels for MacOS SDK 11. Our old installer (for versions <=3.35) included Python built on SDK 10.9. Solution: install a new version of Orange since our new Intel installer fixes the issue. It uses Python built on SDK 11.

It works

from orange3-timeseries.

PrimozGodec avatar PrimozGodec commented on June 16, 2024

So, the current state:

  • I am helping lxml to improve their wheel-building system: lxml/lxml#388; when it is finished, they will also provide MacOS ARM wheels
  • Since it can take some time to be finished, I propose skipping installing yfinace and pandas_datasets on MacOS that require lxml library for now. #262 It will only affect the Yahoo widget.

from orange3-timeseries.

PrimozGodec avatar PrimozGodec commented on June 16, 2024

We merged the temporary solution from #262 and made a release. Now, orange3-timeseries should install successfully. It will lack the Yahoo finance widget on MacOS. We are working towards getting this widget back as soon as possible by helping lxml maintainer to provide wheels.

from orange3-timeseries.

PrimozGodec avatar PrimozGodec commented on June 16, 2024

We re-added the Yahoo widget for Mac users. :) Please update your orang3-timeseries version to 0.6.2 in add-on dialog.

from orange3-timeseries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.