pyasn1 0.3.1 doesn't work with pyasn1-module 0.0.9
See original GitHub issuepyasn1 0.3.1 caused a regression with pyasn1-module 0.0.9:
virtualenv-3.4 /tmp/a
source /tmp/a/bin/activate
pip install pyasn1 pyasn1-modules
python -c 'from pyasn1_modules import (rfc2560)'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/a/lib/python3.4/site-packages/pyasn1_modules/rfc2560.py", line 137, in <module>
class ResponseData(univ.Sequence):
File "/tmp/a/lib/python3.4/site-packages/pyasn1_modules/rfc2560.py", line 143, in ResponseData
namedtype.NamedType('responses', univ.SequenceOf(SingleResponse())),
TypeError: __init__() takes 1 positional argument but 2 were given
Is this combination of library supported?
A workaround is
pip install -U pyasn1==0.2.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
pyasn1 - PyPI
Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208). Project details. Project links. Homepage. Statistics. GitHub statistics:.
Read more >Unable to install python3-pyasn1 or python3-pyasn1-modules
Today, I can not. It doesn't appear to be an issue with the specific system as I can't 'dnf download' from other systems....
Read more >How to install pyasn1 module in Python2.7 path instead of ...
I'll use this method going forward but for the moment I just installed pip2 which is an alternative approach and seems to have...
Read more >Python dependency error modules has requirement which is ...
pyasn1-modules 0.2.1 has requirement pyasn1<0.5.0,>=0.4.1, but you'll have pyasn1 0.1.9 ... Let say that this time module idna is causing the same problem....
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 FreeTop 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
Top GitHub Comments
The combination of these two libraries should definitely be supported. The update for pyasn1-modules is on its way.
Sorry for the hiccup!
Here is the emergency release on PyPI.
Please speak up in case of further troubles.