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 error in sampy.py through pip #36

Closed
Mixpap opened this issue Sep 9, 2017 · 5 comments
Closed

Installation error in sampy.py through pip #36

Mixpap opened this issue Sep 9, 2017 · 5 comments

Comments

@Mixpap
Copy link

Mixpap commented Sep 9, 2017

I was trying to install Vaex through pip (9.0.1). After installing all the requirements an error occurred in sampy installation.
Although its not a Vaex issue i couldn't find the sampy package to try to fix or raise an issue, so i attended here.

Collecting sampy>=1.2 (from vaex)
Downloading sampy-1.2.1.tar.gz (63kB)
100% |████████████████████████████████| 71kB 176kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-LgDLkG/sampy/setup.py", line 3, in
import sampy
File "sampy.py", line 914, in
class HTTPSConnection(httplib.HTTPConnection):
File "sampy.py", line 921, in HTTPSConnection
ssl_version=ssl.PROTOCOL_SSLv3, strict=None):
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

I updated urllib3 (1.22), requests (2.6.0), pip (9.0.1) etc packages as mentioned in other sources.

@maartenbreddels
Copy link
Member

Hi,

I think it should work when you install the latest beta using the --pre flag:

$ pip install --pre vaex

sampy is now part of astropy.

@Mixpap
Copy link
Author

Mixpap commented Sep 9, 2017

That solved it,
Thank you :)

@maartenbreddels
Copy link
Member

Great!

@renelikestacos
Copy link

worked for me too! Thanks.

@maartenbreddels
Copy link
Member

👍

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