ParallelDots / ParallelDots-Python-API

Python repository for ParallelDots API Wrapper
43 stars 17 forks source link

Hi, I can't use this package #9

Closed Yuminzhou closed 7 years ago

Yuminzhou commented 7 years ago

After installing this package (have tried both pip and python xx install method)

Error shows:

from paralleldots import set_api_key, get_api_key Traceback (most recent call last): File "", line 1, in File "paralleldots__init.py", line 3, in from paralleldots.taxonomy import get_taxonomy as taxonomy File "paralleldots\taxonomy.py", line 2, in import requests File "C:\Users\yuminzhou\AppData\Local\Continuum\Anaconda2\lib\site-packages\requests__init__.py", line 84, in from urllib3.contrib import pyopenssl File "C:\Users\yuminzhou\AppData\Local\Continuum\Anaconda2\lib\site-packages\urllib3\contrib\pyopenssl.py", line 48, in from cryptography.hazmat.backends.openssl import backend as openssl_backend File "C:\Users\yuminzhou\AppData\Local\Continuum\Anaconda2\lib\site-packages\cryptography\hazmat\backends\openssl\init__.py", line 7, in from cryptography.hazmat.backends.openssl.backend import backend File "C:\Users\yuminzhou\AppData\Local\Continuum\Anaconda2\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 24, in from cryptography.hazmat.backends.openssl.ciphers import _CipherContext File "C:\Users\yuminzhou\AppData\Local\Continuum\Anaconda2\lib\site-packages\cryptography\hazmat\backends\openssl\ciphers.py", line 16, in @utils.register_interface(ciphers.AEADDecryptionContext) AttributeError: 'module' object has no attribute 'AEADDecryptionContext'

I am using Windows 7 and Python version is 2.7. Thank you for helping.

Meghdeep commented 7 years ago

It seems like the issue is with the requests library installed on your machine. Please run pip install requests --upgrade.

Yuminzhou commented 7 years ago

@Meghdeep Thank you. I will try it