Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629714 - dev-python/pycryptodome: No module named Cryptodome.PublicKey
Summary: dev-python/pycryptodome: No module named Cryptodome.PublicKey
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 00:01 UTC by Konstantin (elxa)
Modified: 2017-12-23 01:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (elxa) 2017-09-03 00:01:24 UTC
I ran into this issue, trying to install the netflix plugin [1] for Kodi (git): https://github.com/asciidisco/plugin.video.netflix/issues/36

After symlinking Cryptodome to Crypto in /usr/lib64/python2.7/site-packages , the issue was gone.

[1] https://github.com/asciidisco/plugin.video.netflix

Reproducible: Always
Comment 1 Daniel Robbins 2017-12-23 01:09:38 UTC
Since pycryptodome is sort of a replacement for the depcrecated pycrypto, and by default it installed as "Crypto", the 'right' way to address this is to tweak the netflix plugin python code to reference "Crypto" instead of "Cryptodome". I would consider the best approach to file a bug here: https://github.com/asciidisco/plugin.video.netflix/issues and request that they update their sources to at least try to do "from Crypto." as well as "from Cryptodome.*", or simply switch to "from Crypto." entirely. If this were an issue with an ebuild, we would file this upstream for you or send them a patch, but since it's just their source code from git, I'll leave it to you to file the bug upstream if that's OK :)