Git Product home page Git Product logo

Comments (2)

skyemoor avatar skyemoor commented on May 23, 2024

Also attempted to launch Orange from the command line, with the following response;

:~$ python -m Orange.canvas
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/home/will/anaconda3/lib/python3.11/site-packages/Orange/__init__.py", line 4, in <module>
    from Orange import data
  File "/home/will/anaconda3/lib/python3.11/site-packages/Orange/data/__init__.py", line 12, in <module>
    from .pandas_compat import *
  File "/home/will/anaconda3/lib/python3.11/site-packages/Orange/data/pandas_compat.py", line 10, in <module>
    from pandas.core.arrays.sparse.dtype import SparseDtype
  File "/home/will/anaconda3/lib/python3.11/site-packages/pandas/core/arrays/sparse/dtype.py", line 21, in <module>
    from pandas.core.dtypes.astype import astype_nansafe
ImportError: cannot import name 'astype_nansafe' from 'pandas.core.dtypes.astype' (/home/will/anaconda3/lib/python3.11/site-packages/pandas/core/dtypes/astype.py)

from orange3.

skyemoor avatar skyemoor commented on May 23, 2024

My initial Pandas version was 2.1.4, which threw errors with Oranges, so I tried;

pip install pandas

which resulted in installing pandas 1.5.3, which gave the above errors.

I then set up a new environment in Anaconda, which upgraded to pandas 2.2.1, and now Orange is running.

Oddly enough, when I do;

pip show pandas

it comes back with 1.5.3

from orange3.

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.