Skip to content
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

Open
maguro27 opened this issue Jan 9, 2023 · 60 comments

Comments

@maguro27
Copy link

maguro27 commented Jan 9, 2023

Question

The pip install gym[accept-rom-license] script stucks after getting the message Building wheel for AutoROM.accept-rom-license (pyproject.toml) ... -.

How can I solve it?

Entire messages

$ pip install gym[accept-rom-license]
Requirement already satisfied: gym[accept-rom-license] in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (0.21.0)
Requirement already satisfied: cloudpickle>=1.2.0 in/mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from gym[accept-rom-license]) (2.2.0)
Requirement already satisfied: numpy>=1.18.0 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from gym[accept-rom-license]) (1.24.1)
Collecting autorom[accept-rom-license]~=0.4.2
  Using cached AutoROM-0.4.2-py3-none-any.whl (16 kB)
Requirement already satisfied: click in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (8.1.3)
Requirement already satisfied: importlib-resources in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (5.10.2)
Requirement already satisfied: tqdm in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (4.62.3)
Requirement already satisfied: requests in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (2.28.1)
Collecting AutoROM.accept-rom-license
  Using cached AutoROM.accept-rom-license-0.5.0.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting libtorrent
  Using cached libtorrent-2.0.7-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (8.6 MB)
Requirement already satisfied: zipp>=3.1.0 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from importlib-resources->autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (3.11.0)
Requirement already satisfied: charset-normalizer<3,>=2 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from requests->autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from requests->autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from requests->autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /mydir/anaconda3/envs/iris/lib/python3.8/site-packages (from requests->autorom[accept-rom-license]~=0.4.2->gym[accept-rom-license]) (1.26.13)
Building wheels for collected packages: AutoROM.accept-rom-license
  Building wheel for AutoROM.accept-rom-license (pyproject.toml) ... -

Thanks.

@maguro27 maguro27 changed the title [Question] stacking when running pip install gym[accept-rom-license]==0.21.0 [Question] stucking when running pip install gym[accept-rom-license]==0.21.0 Jan 9, 2023
@jjshoots
Copy link
Contributor

jjshoots commented Jan 9, 2023

Hiya, could we get more information about your setup? What operating system, python version?

@vmichals
Copy link

vmichals commented Jan 9, 2023

I'm experiencing the same issue on Ubuntu 20.04.5 LTS, python 3.8.10, with the following minimal setup:

> python3 -m venv testenv
> source testenv/bin/activate
> pip install --upgrade pip
> pip install gym[accept-rom-license]

which results in the following output (freezing on the last line)

Collecting gym[accept-rom-license]
  Using cached gym-0.26.2-py3-none-any.whl
Collecting importlib-metadata>=4.8.0
  Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting gym-notices>=0.0.4
  Using cached gym_notices-0.0.8-py3-none-any.whl (3.0 kB)
Collecting cloudpickle>=1.2.0
  Using cached cloudpickle-2.2.0-py3-none-any.whl (25 kB)
Collecting numpy>=1.18.0
  Using cached numpy-1.24.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting autorom[accept-rom-license]~=0.4.2
  Using cached AutoROM-0.4.2-py3-none-any.whl (16 kB)
Collecting click
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting importlib-resources
  Using cached importlib_resources-5.10.2-py3-none-any.whl (34 kB)
Collecting requests
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting tqdm
  Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting AutoROM.accept-rom-license
  Using cached AutoROM.accept-rom-license-0.5.0.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting zipp>=0.5
  Using cached zipp-3.11.0-py3-none-any.whl (6.6 kB)
Collecting libtorrent
  Using cached libtorrent-2.0.7-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (8.6 MB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Building wheels for collected packages: AutoROM.accept-rom-license
  Building wheel for AutoROM.accept-rom-license (pyproject.toml) ... -

@lcebaman
Copy link

lcebaman commented Jan 10, 2023

same here on Rocky Linux, conda Python 3.9.15

@TakeshiJay
Copy link

TakeshiJay commented Jan 10, 2023

I've been going through the same, no loading for the autorom.accept-rom-license on my sagemaker instance

OS: Amazon Linux 2
python: 3.7.12
pip: 22.3.1

@maguro27
Copy link
Author

maguro27 commented Jan 10, 2023

@jjshoots
Thank you for getting back to me.
My environment is as follows,

OS: CentOS 7.5 and Red Hat Enterprise Linux 8.2
virtual env: anaconda 4.10.3
python: 3.8
pip: 22.3.1

@pseudo-rnd-thoughts
Copy link
Contributor

This is weird error, could you try with --verbose, pip install gym[accept-rom-license] --verbose

@neijunior1995
Copy link

neijunior1995 commented Jan 10, 2023

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)
C:\Users\neiju\AppData\Local\Temp\pip-build-env-68wjugte\overlay\Lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build\lib
copying AutoROM.py -> build\lib
installing to build\bdist.win-amd64\wheel
running install
running install_lib
creating build\bdist.win-amd64
creating build\bdist.win-amd64\wheel
copying build\lib\AutoROM.py -> build\bdist.win-amd64\wheel.
running install_egg_info
running egg_info
writing AutoROM.accept_rom_license.egg-info\PKG-INFO
writing dependency_links to AutoROM.accept_rom_license.egg-info\dependency_links.txt
writing requirements to AutoROM.accept_rom_license.egg-info\requires.txt
writing top-level names to AutoROM.accept_rom_license.egg-info\top_level.txt
reading manifest file 'AutoROM.accept_rom_license.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'AutoROM.accept_rom_license.egg-info\SOURCES.txt'
Copying AutoROM.accept_rom_license.egg-info to build\bdist.win-amd64\wheel.\AutoROM.accept_rom_license-0.5.0-py3.9.egg-info
running install_scripts

This is weird error, could you try with --verbose, pip install gym[accept-rom-license] --verbose

@pseudo-rnd-thoughts
Copy link
Contributor

I haven't been able to solve this locally
Could you run

pip install autorom
AutoROM --accept-license

Does the first stage work to pip install autorom.

@TakeshiJay
Copy link

TakeshiJay commented Jan 10, 2023

AutoROM still gets stuck during the AutoROM --accept-license. Also it does work installing autorom

@pseudo-rnd-thoughts
Copy link
Contributor

Would you be able to download the project (https://github.com/Farama-Foundation/AutoROM)
Then run src/autorom.py. If this hangs then could you identify the line where it hangs

@TakeshiJay
Copy link

TakeshiJay commented Jan 11, 2023

It hangs in the function torrent_tar_to_buffer() starting on line 159

while handle.status().state != 5: time.sleep(1)

@pseudo-rnd-thoughts
Copy link
Contributor

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.
It would seem from the comment that the system is always seeding and never changes to download.
I suspect there might be something wrong with our torrent server.

@openai openai deleted a comment from xzqxnet0990 Jan 13, 2023
@pseudo-rnd-thoughts
Copy link
Contributor

@TakeshiJay Sorry this took longer than expected.
We have made a new release for AutoROM, (the software used to download the rooms) with a couple of changes with more bug fixes to try and identify the cause of the issues.

https://pypi.org/project/AutoROM/
You can install through pip install --upgrade AutomROM then AutoROM --accept-license

@TakeshiJay
Copy link

TakeshiJay commented Jan 14, 2023

@pseudo-rnd-thoughts Getting this error after running the AutoROM --accept-license
Screenshot 2023-01-13 182503

@maguro27
Copy link
Author

maguro27 commented Jan 14, 2023

I got another message in the final traceback.

File "/mydir/anaconda3/envs/iris/lib/python3.8/site-packages/AutoROM/AutoROM.py", line 188, in torrent_tar_to_buffer
    print(f"time={timeit}/20 seconds - Trying to download atari roms, "
TypeError: get() takes no keyword arguments

@xzqxnet0990
Copy link

I got another message in the final traceback.

File "/mydir/anaconda3/envs/iris/lib/python3.8/site-packages/AutoROM/AutoROM.py", line 188, in torrent_tar_to_buffer
    print(f"time={timeit}/20 seconds - Trying to download atari roms, "
TypeError: get() takes no keyword arguments

same

@217c
Copy link

217c commented Jan 14, 2023

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:
!pip install gym[atari,accept-rom-license]
!pip install stable-baselines3[extra]

Looking forward to a solution

@jucamohedano
Copy link

Same problem on Google Colab for me. Running Ubuntu 18.04 and python 3.8.16. I have also tried all the options.

@pseudo-rnd-thoughts
Copy link
Contributor

pseudo-rnd-thoughts commented Jan 14, 2023

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.
@everyone
pip install --upgrade AutoROM
AutoROM --accept-license

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)

@217c
Copy link

217c commented Jan 15, 2023

Today everything works just fine, I didn't even need to run --upgrade AutoROM.

@joeagriffith
Copy link

I'm unsure if this is exactly related, but I'm encountering a similar issue when attempting to install stable-baselines3.
I followed the advice to install OpenSSL from the link, and installed Win64 OpenSSL v3.0.7, however even after a restart it didn't seem to make a difference. perhaps I need to make changes to my path or something?

image

@pseudo-rnd-thoughts
Copy link
Contributor

Its seems like libtorrent is not installed, do you get an error when you run pip install libtorrent then import libtorrent in python?

@joeagriffith
Copy link

Ah yes ofcourse. Turns out I do have libtorrent installed but its having trouble linking. I'll look for a suitable fix.

@WreckItTim
Copy link

OK I had the same error with libtorrent linking as joeagriffith and found two maybe solutions:

  1. go to the shady website prompted by the terminal. I reluctantly did this and it worked after installing, rebooting, and entering: pip install gym[accept-rom-license]==0.21.0.
  2. for whatever reason this only worked from pip and not pip3.8. At this point, I'm not sure if the shady website or switching to pip from pip3.8 was the solution. I used python3.8 in the past for my repo simply because it was tried and true, but everything seems to be running fine on whatever the new version of python is. So older Python versions could also be the problem.

@lcebaman
Copy link

Still not working here:

$ AutoROM --accept-license
AutoROM will download the Atari 2600 ROMs.
They will be installed to:
	/home/users/test/miniconda3/lib/python3.9/site-packages/AutoROM/roms

Existing ROMs will be overwritten.
time=1.0/60 seconds - Trying to download atari roms
	current status=downloading metadata (downloading_metadata)
	total downloaded bytes=0
	total payload download=0
	total failed bytes=0
time=2.0/60 seconds - Trying to download atari roms
	current status=downloading metadata (downloading_metadata)
	total downloaded bytes=0
	total payload download=0
	total failed bytes=0

@lcebaman
Copy link

lcebaman commented Jan 20, 2023

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 success: bool = True in AutoROM.py. Unfortunately, many packages depend on this one and will always try to overwrite the ROMs, could this be fixed from the source?
I understand that if ROMs are already in place there is no need to overwrite them.

@pseudo-rnd-thoughts
Copy link
Contributor

pseudo-rnd-thoughts commented Jan 21, 2023

@lcebaman That is very annoying.
To avoid spamming this issue, would you be able to join our discord server (https://discord.gg/bnJ6kubTg6) and @jjshoots and myself can see if we can find a solution.

Yes, we will implement the change to not need to download the ROM if it is already installed

@fedeceola
Copy link

Hi @pseudo-rnd-thoughts, thanks for your work! I'm experiencing the same problem pointed out by @lcebaman, are there any updates on this?

@jjshoots
Copy link
Contributor

jjshoots commented Feb 2, 2023

Adding on to this, but it is possible to get the roms by simply copying out the roms from ./venv/lib/python3.10/site-packages/multi_agent_ale_py/roms and ./venv/lib/python3.10/site-packages/ale_py/roms from a computer on a working network to one that doesn't allow torrenting.

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

@fedeceola
Copy link

We could add a parameter that tries installing with wget.

@pseudo-rnd-thoughts That would be great!

it is possible to get the roms by simply copying out the roms

@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.

@jjshoots
Copy link
Contributor

jjshoots commented Feb 2, 2023

After some discussion internally, it appears that installing with wget is not a sustainable option and so will not be pursued in the future.

@JerryLin3592
Copy link

Just clicking run as administrator works for me.

@rook86
Copy link

rook86 commented Feb 11, 2023

Do you have any updates on this issue?
This does not work for me with Ubuntu 20.04.5 LTS and Python 3.8.
AutoROM --accept-license

@pseudo-rnd-thoughts
Copy link
Contributor

@rook86 Do you get any debug information?

@jjshoots
Copy link
Contributor

jjshoots commented Feb 12, 2023

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:

  1. Download the tar.gz file from here.
  2. Ensure that AutoROM is up to the latest version pip3 install autorom>=0.5.5.
  3. Install the roms using the pre-installed tar.gz file AutoROM --accept-license --source-file path/to/Roms.tar.gz.

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.

@rook86
Copy link

rook86 commented Feb 13, 2023

@jjshoots
Thank you for the modification. I am trying to install autorom==0.5.5, but it does not work.
Is there any way to install from pip or source?

ERROR: Could not find a version that satisfies the requirement autorom==0.5.5 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4)
ERROR: No matching distribution found for autorom==0.5.5

@jjshoots
Copy link
Contributor

@rook86 Try it now.

@yanghu819
Copy link

image
still, I can't pip install autorom==0.5.5!

@jjshoots
Copy link
Contributor

@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:
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org autorom==0.5.5

@rook86
Copy link

rook86 commented Feb 14, 2023

@jjshoots
Thank you so much!!! It worked for me.

@triakshunn
Copy link

triakshunn commented Feb 21, 2023

OS: Ubuntu 20.04 LTS
Python=3.10
Command:pip install stable-baselines3[extra] --verbose
image

image

image

It completes the 180 sec timeout with error.

@jjshoots
Copy link
Contributor

Hi @triakshunn, this should solve your issue.

@EeyoreLee
Copy link

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.

@EeyoreLee
Copy link

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 success: bool = True in AutoROM.py. Unfortunately, many packages depend on this one and will always try to overwrite the ROMs, could this be fixed from the source? I understand that if ROMs are already in place there is no need to overwrite them.

I'm in exactly the same situation as you. :(

@jjshoots
Copy link
Contributor

@EeyoreLee Can we get the output of pip3 freeze?

@EeyoreLee
Copy link

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:

  1. Download the tar.gz file from here.
  2. Ensure that AutoROM is up to the latest version pip3 install autorom>=0.5.5.
  3. Install the roms using the pre-installed tar.gz file AutoROM --accept-license --source-file path/to/Roms.tar.gz.

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.

Hi everyone, I bypassed the authentication of Autorom during the installation in a less recommended way.
I take installation stable_baselines3[extra] as an example.

  1. git clone [email protected]:DLR-RM/stable-baselines3.git # change the ssh link according to the package you want.
  2. edit the setup.py file, modify the autorom[accept-rom-license] to autorom.
  3. execute pip install -e .[extra] # the param extra according to extras_require in setup.py file.
  4. you install it successfully without accept-rom-license, so you can install the reference approach to complete the License certification.

Looking forward to the official providing more reasonable way

@jjshoots
Copy link
Contributor

jjshoots commented Feb 28, 2023

@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].

@DouaeAhmadoun
Copy link

execute pip install -e .[extra] # the param extra according to extras_require in setup.py file.

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:

  Using cached gym-0.21.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(/data/users/dahmadoun/conda-envs/myenv) pip install -e .[extra]
Obtaining file:///gpfs_new/home/dahmadoun/projects/stable-baselines3
  Preparing metadata (setup.py) ... done
Collecting gym==0.21
  Using cached gym-0.21.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.```

@pseudo-rnd-thoughts
Copy link
Contributor

setuptools introduced an issue, see this thread for the solution - #3176

@tobiaswuerth
Copy link

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.

@alex-petrenko
Copy link

Looks like on macOS with Apple silicon (M2 ARM chip) libtorrent is not available on pip.
pip install "gymnasium[accept-rom-license]" fails because libtorrent is not found. Are there any known solutions?

@AndiLeni
Copy link

AndiLeni commented Mar 7, 2023

Same here on windows 10 @alex-petrenko. libtorrent does not seem to be supported on windows.

ERROR: Could not find a version that satisfies the requirement libtorrent (from versions: none)
ERROR: No matching distribution found for libtorrent

@hom-bahrani
Copy link

pip install --upgrade AutoROM
AutoROM --accept-license

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 "Terminating attempt to download ROMs after 180 seconds, this has failed, please report it." I suspected it was a network issue after reading this in the AutoROM github page If you encounter problems with installation due to your network blocking torrenting after switching the network from my work wifi to a mobile hotspot it downloaded just fine

@Isaac009
Copy link

pip install --upgrade AutoROM
AutoROM --accept-license

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 "Terminating attempt to download ROMs after 180 seconds, this has failed, please report it." I suspected it was a network issue after reading this on the AutoROM GitHub page If you encounter problems with installation due to your network blocking torrenting after switching the network from my work wifi to a mobile hotspot, it downloaded just fine

++++++++++++++++++++++++++++++++++++++
I used a similar approach: Retry until it worked!!
++++++++++++++++++++++++++++++++++++++

@jjshoots
Copy link
Contributor

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.

@tsWen0309
Copy link

I‘ve met the same issue. I solved it following https://blog.csdn.net/weixin_41369892/article/details/129137931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests