On 22/02/18 06:27, Larry Martell wrote:
I want to use the atws package
(https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on
ubuntu-trusty-64 3.13.0-87-generic. I get this error when importing
the package:

import atws
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/lib/python2.7/dist-packages/atws/__init__.py", line
4, in <module>
     from .wrapper import connect
   File "/usr/local/lib/python2.7/dist-packages/atws/wrapper.py", line
32, in <module>
     from . import connection
   File "/usr/local/lib/python2.7/dist-packages/atws/connection.py",
line 19, in <module>
     from requests.exceptions import ConnectTimeout, Timeout,
ReadTimeout, SSLError
ImportError: cannot import name ConnectTimeout

I would not be surprised if no one here has used this package, but has
anyone seen this error in other packages or their own work?


According to https://github.com/byt3bl33d3r/CrackMapExec/issues/167, which reports the same error, you just need to update the requests package.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to