Kong / Kong/unirest-python

Import Error

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am running on python 3.6 and after installing it, I run `import unirest` and get the following errors:
```
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\EOdianosen\AppData\Local\Programs\Python\Python36-32\lib\site-packages\unirest\__init__.py", line 98
except urllib2.HTTPError, e:
^
SyntaxError: invalid syntax
```
Please any thing I might be missing?

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with unirest/__init__.py at line 98 and reproduce the import under Python 3.6. Trace the surrounding import path and verify the package can be imported successfully on that Python version when the issue is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.