Error w/ FastF1 version? #226
Replies: 5 comments 6 replies
-
Hi Seth, I also recently had some Python-related issues on my computer (and the interaction with R). What's your currently installed Python version and does In my case, I had to manually change the python environment used by reticulate using If the problem continues perhaps opening an issue is the best course of action. |
Beta Was this translation helpful? Give feedback.
-
To add to that, the As @SCasanova suggested, if you run You should be able to update the correct environment's FastF1 by running Let us know how this goes, and take a look at the setup_fastf1 vignette too. Let us know if there's anything that could be clearer in this process so we can better our documentation, or make some edits and submit a PR yourself if you'd like! |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the help @SCasanova and @pbulsink, I got it to work thanks to your help! Don't worry the directions are clear I think I am I just python illiterate! Seriously grateful to you all for creating/supporting/maintaining/troubleshooting f1dataR. |
Beta Was this translation helpful? Give feedback.
-
Thanks Seth
@SCasanova maybe we should inform the user in the deprecation warning that
they can update FastF1 manually, or through calling `setup_fastf1()`?
…On Tue, Mar 5, 2024, 14:25 SethWalder ***@***.***> wrote:
So I think it was that when I was updating fastF1 I was doing it in the
wrong environment.
When I typed in f1dataR::get_fastf1_version() as suggested, I got:
$major
[1] 2
$minor
[1] 3
Once I ran setup_fastf1() and restarted R it worked! Probably would not
have been an issue for a first time user but I think just because I'd been
using f1dataR awhile ago but not in awhile, it tripped me up? Not totally
sure!
—
Reply to this email directly, view it on GitHub
<#226 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJLHRVTQ7EBRSBIBZM5TSTYWYLZBAVCNFSM6AAAAABD5KF5K2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOBUG4YDC>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah, good idea. Make the error more informative |
Beta Was this translation helpful? Give feedback.
-
Been awhile since I've used f1dataR and I recently updated the package. However, when I've gone to load telemetry data I get this error
Error in
check_ff1_version()
:! An old version of FastF1 is in use. f1dataR requires FastF1 version 3.1.0 or newer.
✖ Support for older FastF1 versions was removed in f1dataR v1.6.0
ℹ You can update your FastF1 installation by running:
reticulate::py_install('fastf1')
I've run the update suggested and best I can tell I have updated FastF1 into version 3.3.0 and in the correct environment but I still get the error. Has anyone else run into this or know the solution?
Appreciate the help (and sorry if this the wrong place to put this question!)
Beta Was this translation helpful? Give feedback.
All reactions