Comments (10)
I can't reproduce this problem, and the error message seems really odd.
- What operating system are you using?
- Which version of Python are you using?
- 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.
Iam using python 3.12. Iam on a windows. The full output is really big
from fast-f1.
Just as a sanity check I tried on a fresh Linux environment with Python version 3.10.9 and cannot reproduce
from fast-f1.
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.
Here is the link to the paste bin: https://pastebin.com/14RS1C9h
from fast-f1.
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.
@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.
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.
@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.
@theOehrly Thanks that worked great!
from fast-f1.
Related Issues (20)
- [BUG] get_circuit_info() doesn't work with custom TELEMETRY_FREQUENCY HOT 6
- [BUG] Example ``plot_driver_laptimes.py`` no longer working with latest Seaborn release HOT 11
- [BUG] Data for Piastri in the sprint shootout not available HOT 2
- [BUG] The first lap of a race should not have a PitOutTime HOT 3
- [BUG] Incorrect Qatar Sprint results due to not applied penalties HOT 3
- [BUG] All laps from Singapore and Qatar Grand Prix have IsAccurate=False HOT 3
- [ENH] Add Python 3.12 to test HOT 1
- [BUG] USGP Results | Duplicate entry for TSU and LEC missing data HOT 4
- [BUG] Laps.pick_fastest(only_by_time=True) inconsistency HOT 5
- [BUG] Restart lap times after the red flag HOT 10
- Ergast ShuttingDown HOT 1
- [DEPR] ``pick_fastest`` needs to return ``None`` instead of empty ``Lap`` HOT 1
- Rainfall Data wrong in Weather Data for some GPs HOT 2
- [ENH] Drivers colors HOT 7
- [BUG] Las Vegas FP1, FP3 and Race failing to load HOT 4
- [BUG] Incorrect data Las Vegas Race HOT 3
- [ENH] Telemetry DataFrame should include DriverId HOT 9
- Lap to grid + formation lap part of the data for Sprint Shootout and Race sessions HOT 2
- [BUG] Driver CountryCode is not populated in the SessionResults object HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-f1.