Giter Site home page Giter Site logo

Comments (10)

theOehrly avatar theOehrly commented on June 11, 2024

I can't reproduce this problem, and the error message seems really odd.

  1. What operating system are you using?
  2. Which version of Python are you using?
  3. Please post the full output of pip, not just the final error, so I have a better chance of figuring this out.

from fast-f1.

pavankay avatar pavankay commented on June 11, 2024

Iam using python 3.12. Iam on a windows. The full output is really big

from fast-f1.

Casper-Guo avatar Casper-Guo commented on June 11, 2024

Just as a sanity check I tried on a fresh Linux environment with Python version 3.10.9 and cannot reproduce

from fast-f1.

theOehrly avatar theOehrly commented on June 11, 2024

I tested Python 3.10 and 3.12 on Windows and it's fine. Apart from that, the last release is long enough ago that it can't be a widespread issue or more people would have encountered it.

@pavankay I know the full output is long but I don't think we are getting anywhere with the current information.
Therefore, please post the full output here or use a service like pastebin.com and share the link here.

from fast-f1.

pavankay avatar pavankay commented on June 11, 2024

Here is the link to the paste bin: https://pastebin.com/14RS1C9h

from fast-f1.

Casper-Guo avatar Casper-Guo commented on June 11, 2024

The cause is "failed building wheel for Pandas". Try the following first:

pip install --upgrade wheel setuptools

pip install pandas --no-cache-dir

You probably shouldn't be installing anything into an environment in the OneDrive directory anyways. It tends to be very slow.

from fast-f1.

theOehrly avatar theOehrly commented on June 11, 2024

@pavankay you should try @Casper-Guo's suggestion first. But I am not sure whether that will fix the problem or not.

The problem is that pandas needs to be built from sources. FastF1 is not (yet) compatible with the latest versions of Pandas due to some unexpected API changes in Pandas 2.1.0. But the older versions of Pandas don't have pre-built wheels for Python 3.12.

This line
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/
suggests that you might actually need to install a compiler + build tools.

Alternatively, you could use Python 3.11 where pre-built wheels for all dependencies should be available.

from fast-f1.

pavankay avatar pavankay commented on June 11, 2024

My project requires python 3.12 is there any other way and if I need to use the cpp tools could explain what I should do?

from fast-f1.

theOehrly avatar theOehrly commented on June 11, 2024

@pavankay you need to do what the PIP error message suggests and download and install the build tools from the provided link.

from fast-f1.

pavankay avatar pavankay commented on June 11, 2024

@theOehrly Thanks that worked great!

from fast-f1.

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.