GithubHelp home page GithubHelp logo

Python 3.12 Install Issue about fusion HOT 3 CLOSED

votecoffee avatar votecoffee commented on August 27, 2024
Python 3.12 Install Issue

from fusion.

Comments (3)

votecoffee avatar votecoffee commented on August 27, 2024

I added a couple of packages as per below:

pip install pandas
pip install wheel

I now get this error:

Collecting imufusion
  Using cached imufusion-1.2.0.tar.gz (20 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: imufusion
  Building wheel for imufusion (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'imufusion' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for imufusion
  Running setup.py clean for imufusion
Failed to build imufusion
ERROR: Could not build wheels for imufusion, which is required to install pyproject.toml-based projects

I'll install c++ build tools and try again, but it looks like adding pandas and/or wheel is needed in python 3.12.

from fusion.

votecoffee avatar votecoffee commented on August 27, 2024

After installing MSVC c++ 2022 build tools, it installs fine. Note that as per above, I had to pip install pandas and/or wheels first. Feel free to close this if you want, but I'm leaving it open in case you want to add pandas and/or wheels to your dependencies.

from fusion.

xioTechnologies avatar xioTechnologies commented on August 27, 2024

Fusion v1.2.1 has just been released and supports Python 3.12.

Thank you for sharing your notes. I found was not necessary to add pandas. The only build dependencies are numpy and twine, as per lines 77 and 78 of main.yml which is running without issue.

from fusion.

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.