Bug: "Import Error _DEFAULT_CA_CERTS" With tornado 5.0
See original GitHub issueSince tornado updated to 5.0, the latest version of pynsq has conflict with this new tornado:
>>> import nsq
Traceback (most recent call last):
File "/Users/tom/Virtualenvs/athena/lib/python3.5/site-packages/nsq/async.py", line 31, in <module>
from tornado.simple_httpclient import _default_ca_certs as default_ca_certs
ImportError: cannot import name '_default_ca_certs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/tom/Virtualenvs/athena/lib/python3.5/site-packages/nsq/__init__.py", line 29, in <module>
from .async import AsyncConn
File "/Users/tom/Virtualenvs/athena/lib/python3.5/site-packages/nsq/async.py", line 34, in <module>
from tornado.simple_httpclient import _DEFAULT_CA_CERTS
ImportError: cannot import name '_DEFAULT_CA_CERTS'
This bug causes huge consequences on my application and plz fix this ASAP. Currently my way to fix this bug is to put these lines in requirements.txt to force tornado use 4.5.3:
tornado==4.5.3
pynsq
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Tornado 5.0 raises error on install with older Python versions ...
This means " ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the ...
Read more >Unable to launch Jupyter Notebook - Stack Overflow
The error explains what the problem is that you're encountering. You'll need to upgrade your version of tornado to at least v5.0.
Read more >1748170 – No module named 'tornado.stack_context'
Hackish fix: #Remove tornado package sudo rpm -e --nodeps python3-tornado #install last supported tornado version from python repos sudo pip3 install ...
Read more >tornado - PyPI
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Read more >Configuration options - Tornado - Bugsnag docs
from bugsnag import BreadcrumbType bugsnag.configure(enabled_breadcrumb_types=[BreadcrumbType.ERROR, BreadcrumbType.LOG]).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Encountered this issue + 1, where did you find out pynsq-0.8.3 fixed it?
Given that actual compatibility is a ways off, yea, should probably issue a point release for the patch.