Unity-Technologies / obstacle-tower-challenge

Starter Kit for the Unity Obstacle Tower challenge
Apache License 2.0
119 stars 38 forks source link

Problem running pip install -r requirements.txt on Windows #12

Closed louisgv closed 5 years ago

louisgv commented 5 years ago

I'm on Windows and I'm trying to pip install -r requirements.txt, my python and pip version are:

PS D:\Project\Github\otc-unity\obstacle-tower-challenge> python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

PS D:\Project\Github\otc-unity\obstacle-tower-challenge> pip --version
pip 19.0.2 from c:\users\lgvic\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)

When I tried to install dependency, here's the error:

PS D:\Project\Github\otc-unity\obstacle-tower-challenge> pip install -r requirements.txt
Collecting git+git://github.com/Unity-Technologies/obstacle-tower-env@v1.1 (from -r requirements.txt (line 1))
  Cloning git://github.com/Unity-Technologies/obstacle-tower-env (to revision v1.1) to c:\users\lgvic\appdata\local\temp\pip-req-build-_0hdw7g9
Collecting aicrowd-repo2docker (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/9a/39/796d0d4700a8d1315e90176ffc9c7e9c36758a560779da39820187ed3753/aicrowd-repo2docker-0.7.0.tar.gz
Collecting mlagents_envs<0.7,>=0.6.1 (from obstacle-tower-env==1.1->-r requirements.txt (line 1))
  Could not find a version that satisfies the requirement mlagents_envs<0.7,>=0.6.1 (from obstacle-tower-env==1.1->-r requirements.txt (line 1)) (from versions: )
No matching distribution found for mlagents_envs<0.7,>=0.6.1 (from obstacle-tower-env==1.1->-r requirements.txt (line 1))

I have looked around but couldn't find a solution for this. Thanks in advance for any help :smile:

louisgv commented 5 years ago

Found the solution. It was Python 3.7, i.e it's doesn't have the package. Downgrade to 3.6 worked! First time doing python stuff on Windows XD