Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48323 - Conflict python-crypto with python2-paramiko

Attached to Project: Arch Linux
Opened by Dominik Lenoch (dlenoch) - Wednesday, 24 February 2016, 15:47 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 24 February 2016, 16:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When install python-crypto, all programs using python2-paramiko under python 2 not working.

File "test.py", line 10, in <module>
import paramiko
File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 30, in <module>
from paramiko.transport import SecurityOptions, Transport
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 50, in <module>
from paramiko.dsskey import DSSKey
File "/usr/lib/python2.7/site-packages/paramiko/dsskey.py", line 26, in <module>
from Crypto.PublicKey import DSA
File "/usr/lib/python3.5/site-packages/Crypto/PublicKey/DSA.py", line 89, in <module>
from Crypto import Random
File "/usr/lib/python3.5/site-packages/Crypto/Random/__init__.py", line 29, in <module>
from Crypto.Random import _UserFriendlyRNG
File "/usr/lib/python3.5/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module>
from Crypto.Random.Fortuna import FortunaAccumulator
File "/usr/lib/python3.5/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module>
from . import FortunaGenerator
File "/usr/lib/python3.5/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 35, in <module>
from Crypto.Util import Counter
File "/usr/lib/python3.5/site-packages/Crypto/Util/Counter.py", line 59, in <module>
from Crypto.Util import _counter
ImportError: cannot import name _counter

Additional info:
python2 2.7.11-1, python-crypto-2.6.1-3, python2-paramiko 1.16.0-1


Steps to reproduce:

1. Install python2, python2-crypto, python2-paramiko
2. Try import paramiko under python 2.7 (it's ok)
3. Install python-crypto. (with dependencies.)
4 Try import paramiko under python2.7 (get ImportError)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 24 February 2016, 16:30 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 24 February 2016, 15:54 GMT
No problem here. Do you have $PYTHONPATH set?
Comment by Dominik Lenoch (dlenoch) - Wednesday, 24 February 2016, 16:26 GMT
Of course. This is problem with $PYTHONPATH not with package.. Thank you for fast "help" to resolve this (my) problem.

Loading...