#๐ i have bug won't let me install baseline3
49 messages ยท Page 1 of 1 (latest)
@fleet girder
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
!paste please use this
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
it won't let you attach files directly
found it
i just want make ai play mega man works
i actually got screen capture
it working it see what im playing
it's trying to build Numpy... I think it might be because they don't yet provide prebuilt Numpy for 3.13
can you try with 3.12?
numpy not being available for 3.13 would be odd. The issue is likely that the package you try to install contrains numpy to a version lower than 2.0
stable-baselines3 using upper bound constraints is generally considered a bad habit... it usually means "I made this, but don't want to maintain it"
You can probably get it to work, if you figure out what python version it was originally made for
it was latest version when i downloaded
https://pypi.org/project/stable-baselines3/
it lists 3.11 as the highest version (bottom left), so there is a good chance it works with that version.
but why it didn't work
why did what not work?
it didn't install correctly
the stable-baselines3 version requires a numpy version below 2.0 ... but numpy 1.x is not compatible/pre-built for python 3.13 ... so you'd have to compile it yourself - but doing that is a huge pain on windows - so no one really does it.
oh ok
they got a pre release version... you can try:
pip install --pre stable-baselines3
maybe that one actually works, but there is no guarantee
the easiest way to make it work is probably to install an older python version
i got raspberry i could use it
well im on window but i got pi 4 maybe i could use it
that's probably not much better, as rpi is usually some ARM architecture... and you typically never find pre-built binaries for those on pypi
well something popular like numpy might be an exception
why deep learn ai so much complicated
ok
(I recommend the powershell installation method for windows, don't use pip)
ok it installed
then navigate in powershell into a new project directory, and do something like:
uv python pin 3.11
uv init --package --name myproject
uv add stable-baselines3
uv sync
not sure entirely what fits best your scenario
yeah i'm going try swich to pi 4 see if that help im not looking for advance i just want something that work
you have to consider that AI typically requires quite heavy GPUs to do anything reasonable good. an rpi will never be able to do that
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
๐ i have bug won't let me install baseline3