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

Some questions during installing the environment #31

Open
mrayur opened this issue Sep 17, 2020 · 2 comments
Open

Some questions during installing the environment #31

mrayur opened this issue Sep 17, 2020 · 2 comments

Comments

@mrayur
Copy link

mrayur commented Sep 17, 2020

Hi all,

I tried to install the packages and dependencies by the provided "environment.yml", but it seems there is no package python3.5.2 and numpy1.12.0.

**(base) john@john-virtual-machine:~/rllab$ conda env create -f environment.yml
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you.
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • python==3.5.2
  • numpy==1.12.0**

Then I tried to manually install all packages, errors occurred when installing the 'scipy' and 'numba':

**Collecting scipy
Using cached https://files.pythonhosted.org/packages/53/10/776750d57ade26522478a92a2e14035868624a6a62f4157b0cc5abd4a980/scipy-1.5.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-gyfx04gc/scipy/setup.py", line 31, in
raise RuntimeError("Python version >= 3.6 required.")
RuntimeError: Python version >= 3.6 required.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gyfx04gc/scipy/
You are using pip version 8.1.1, however version 20.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.**

So should I install the python3.6 or appoint a version of scipy and numba.

Looking forward to your insight, any kind of help would be appreciated!

Thanks and regards,
John

@MaximeBouton
Copy link
Member

@raunakbh92 @djp42

@mengyuest
Copy link

Hi John, I am able to run PS-GAIL with my own simulator (though not decent performance). Here is the installation process (may be not elegant, but it follows my debugging process):

conda create -n pg2 python==3.6.12 tensorflow-gpu==1.12.0 numpy==1.16.3
conda activate pg2

cd ../rllab && python setup.py develop

conda install path
pip install python-dateutil
pip install joblib==0.11 ## Because of the naming issue for MemmappingPool (https://github.com/rll/rllab/issues/240)
conda install theano
pip install pyprind
pip install cached-property
conda install matplotlib tqdm

And here is my output for conda list. Hope this helps.
(I am still struggling with installing the NGSim simulator and please let me know if you find a good way to make it work. Thanks)

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

3 participants