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

Installation Issues: No matching distribution found for gym (from osim-rl==1.5) #83

Closed
filipre opened this issue Oct 10, 2017 · 1 comment

Comments

@filipre
Copy link

filipre commented Oct 10, 2017

Hi!

I followed the installation guide in the readme. However, I always get following error message:

(opensim-rl) ➜  reinforcement-learning pip install git+https://github.com/stanfordnmbl/osim-rl.git
Collecting git+https://github.com/stanfordnmbl/osim-rl.git
  Cloning https://github.com/stanfordnmbl/osim-rl.git to /private/var/folders/8c/qrh6r14j2wngvdydz5qz4n1j1kz20v/T/pip-3MFaVf-build
Requirement already satisfied: numpy in /Users/d060659/anaconda/envs/opensim-rl/lib/python2.7/site-packages (from osim-rl==1.5)
Collecting gym (from osim-rl==1.5)
/Users/d060659/anaconda/envs/opensim-rl/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/Users/d060659/anaconda/envs/opensim-rl/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Could not fetch URL https://pypi.python.org/simple/gym/: There was a problem confirming the ssl certificate: [Errno 1] _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm - skipping
  Could not find a version that satisfies the requirement gym (from osim-rl==1.5) (from versions: )
No matching distribution found for gym (from osim-rl==1.5)
/Users/d060659/anaconda/envs/opensim-rl/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

Are some requirements missing? Has it to do with SSL? I'm confused because I thought that command was supposed to install gym so why does it say it needs it as requirement?

Issue #32 is related but the author did not issue the pip install command

@kidzik
Copy link
Member

kidzik commented Oct 14, 2017

Indeed pip install gym should work right away.
It looks like a bug on the PyPI side, related to SSL
pypa/pip#829
https://stackoverflow.com/questions/15441224/can-i-relink-enthought-python-to-new-version-of-openssl-on-mac-os-x

It seems that --allow-all-external --allow-unverified might help, but it's not ideal. There are a few other suggestions there though.

@kidzik kidzik closed this as completed Mar 24, 2018
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

2 participants