-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] stucking when running pip install gym[accept-rom-license]==0.21.0
#3170
Comments
gym[accept-rom-license]==0.21.0
gym[accept-rom-license]==0.21.0
Hiya, could we get more information about your setup? What operating system, python version? |
I'm experiencing the same issue on Ubuntu 20.04.5 LTS, python 3.8.10, with the following minimal setup:
which results in the following output (freezing on the last line)
|
same here on Rocky Linux, conda Python 3.9.15 |
I've been going through the same, no loading for the autorom.accept-rom-license on my sagemaker instance OS: Amazon Linux 2 |
@jjshoots
|
This is weird error, could you try with |
I am also having the same problem, I tried the command 'pip install gym[accept-rom-license] --verbose', but the installation got stuck in running install_scripts. Running command Building wheel for AutoROM.accept-rom-license (pyproject.toml)
|
I haven't been able to solve this locally pip install autorom
AutoROM --accept-license Does the first stage work to pip install autorom. |
AutoROM still gets stuck during the AutoROM --accept-license. Also it does work installing autorom |
Would you be able to download the project (https://github.com/Farama-Foundation/AutoROM) |
It hangs in the function torrent_tar_to_buffer() starting on line 159
|
That is very helpful, we will hopefully make a release tomorrow that will add a timeout to the while loop to prevent it looping forever. |
@TakeshiJay Sorry this took longer than expected. https://pypi.org/project/AutoROM/ |
@pseudo-rnd-thoughts Getting this error after running the |
I got another message in the final traceback.
|
same |
Same problem here, I tried all the options, nothing seems to work. I use Google Colab PRO. The weird thing is that a nootebook that i wrote weeks ago successfully runs the following commands, while a new notebook fails: Looking forward to a solution |
Same problem on Google Colab for me. Running Ubuntu 18.04 and python 3.8.16. I have also tried all the options. |
Ok, I suspect that the issue is with the torrent seeding server as it has a relatively small number of available download slots. Therefore, if there is a large amount of traffic this might cause issue for users. I would try downloading 5 minutes later otherwise there might be an unknown issue @TakeshiJay We have fixed the bug and there should be more debug data printed every 5 seconds. Additionally, sorry about the slow fix for this, everyone who works on this project currently is a volunteer and currently, the team is very busy with the rest of their lives (PhD viva deadline this week, IJCAI submission deadline this week, visiting family around the world) |
Today everything works just fine, I didn't even need to run |
I'm unsure if this is exactly related, but I'm encountering a similar issue when attempting to install stable-baselines3. |
Its seems like libtorrent is not installed, do you get an error when you run |
Ah yes ofcourse. Turns out I do have libtorrent installed but its having trouble linking. I'll look for a suitable fix. |
OK I had the same error with libtorrent linking as joeagriffith and found two maybe solutions:
|
Still not working here:
|
I suspect the torrent URL isn't working on some machines. I overcame this problem by manually downloading the Roms.tar.gz file and placing the ROMs where they are expected, then setting |
@lcebaman That is very annoying. Yes, we will implement the change to not need to download the ROM if it is already installed |
Hi @pseudo-rnd-thoughts, thanks for your work! I'm experiencing the same problem pointed out by @lcebaman, are there any updates on this? |
Adding on to this, but it is possible to get the roms by simply copying out the roms from You can do it with rsync by doing something like the following: rsync -rav --progress SOURCE_MACHINE:~/PROJECT_DIR/venv/lib/python3.10/site-packages/multi_agent_ale_py/roms TARGET_MACHINE:~/PROJECT_DIR/venv/lib/python3.10/site-packages/multi_agent_ale_py/roms
rsync -rav --progress SOURCE_MACHINE:~/PROJECT_DIR/venv/lib/python3.10/site-packages/ale_py/roms TARGET_MACHINE:~/PROJECT_DIR/venv/lib/python3.10/site-packages/ale_py/roms |
@pseudo-rnd-thoughts That would be great!
@jjshoots yes, that's similar to what I did to partially solve the problem in these day, but copying the ROMs from a previous version of AuoROM in the directory that you mentioned. |
After some discussion internally, it appears that installing with wget is not a sustainable option and so will not be pursued in the future. |
Just clicking run as administrator works for me. |
Do you have any updates on this issue? |
@rook86 Do you get any debug information? |
Hi everyone, we've recently taken the feedback from everyone and made a new release for AutoROM. In this release, you're able to bypass the requirement for torrenting if you already have the pre-torrented tar available. This should solve all™ of the issues at hand. To use the new release:
Disclaimer: The Roms.tar.gz are currently hosted on a personal GDrive account. For legal reasons these cannot be hosted on the main github repo. As such, availability of the Roms via GDrive is not guaranteed. |
@jjshoots
|
@rook86 Try it now. |
@yanghu819 Seems like it's still not indexed on PyPI's China servers, it should only be a matter of time before it's updated. Otherwise, you can probably override it via: |
@jjshoots |
Hi @triakshunn, this should solve your issue. |
I can install this way, but when installing stable_baselines3, there is still no way to skip AutoROM.accept-rom-license. |
I'm in exactly the same situation as you. :( |
@EeyoreLee Can we get the output of |
Hi everyone, I bypassed the authentication of Autorom during the installation in a less recommended way.
Looking forward to the official providing more reasonable way |
@araffin, could we add a statement in the readme of SB3 for this? Or split the SB3[extras] into SB3[extras-no-atari] and SB3[extras]. |
Thank you @EeyoreLee and @jjshoots for your kind replies and reactivity. I have the same problem with autorom. I have tried your solution but it doesn't work. I have the errors bellow:
|
|
For me somehow this post and this answer solved my issue and allowed me to finally download the ROMs. And yes, I needed to download and install the Win64OpenSSL on my system beforehand. |
Looks like on macOS with Apple silicon (M2 ARM chip) libtorrent is not available on pip. |
Same here on windows 10 @alex-petrenko. libtorrent does not seem to be supported on windows.
|
I tried this at home and it worked fine, then tried to set it up on my work mac the next day in the office and I had the same timeout issue that others have reported |
++++++++++++++++++++++++++++++++++++++ |
Hi all, the newest AutoROM v0.6.0 should fix all of your issues now, we've moved on from the torrenting backend at long last. |
I‘ve met the same issue. I solved it following https://blog.csdn.net/weixin_41369892/article/details/129137931 |
Question
The
pip install gym[accept-rom-license]
script stucks after getting the messageBuilding wheel for AutoROM.accept-rom-license (pyproject.toml) ... -
.How can I solve it?
Entire messages
Thanks.
The text was updated successfully, but these errors were encountered: