wit-ai / pywit

Python library for Wit.ai
Other
1.46k stars 361 forks source link

bug on python 3.6.4 with timegm #116

Closed catafest closed 3 years ago

catafest commented 6 years ago

Do you want to request a feature, report a bug, or ask a question about wit?

C:\Python364>python.exe
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)]
 on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python364\lib\site-packages\wit\__init__.py", line 9, in <module>
    from .wit import Wit
  File "C:\Python364\lib\site-packages\wit\wit.py", line 9, in <module>
    import requests
  File "C:\Python364\lib\site-packages\requests\__init__.py", line 97, in <modul
e>
    from . import utils
  File "C:\Python364\lib\site-packages\requests\utils.py", line 26, in <module>
    from ._internal_utils import to_native_string
  File "C:\Python364\lib\site-packages\requests\_internal_utils.py", line 11, in
 <module>
    from .compat import is_py2, builtin_str, str
  File "C:\Python364\lib\site-packages\requests\compat.py", line 59, in <module>

    from http import cookiejar as cookielib
  File "C:\Python364\lib\http\cookiejar.py", line 41, in <module>
    from calendar import timegm
ImportError: cannot import name 'timegm'

What is the current behavior? pip install If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

What is the App ID where you are experiencing this issue (if applicable)?