pronotepy icon indicating copy to clipboard operation
pronotepy copied to clipboard

Module crypto

Open LawlietRen opened this issue 3 years ago • 4 comments

ModuleNotFoundError: No module named 'Crypto'

LawlietRen avatar Sep 07 '22 19:09 LawlietRen

Hi, did you install pronotepy correctly? Run pip install -U pronotepy to install the latest stable release.

bain3 avatar Sep 07 '22 19:09 bain3

@bain3 Hey, everything is up to date but it doesn't work, i also tried to install pycrypto, to remove it and reinstall it, etc but nothing works

LawlietRen avatar Sep 08 '22 17:09 LawlietRen

The crypto module is from our pycryptodome dependency. Make sure that it's installed. I'm sorry but this is an environment issue, that is kinda hard to debug like this and is out of scope. It looks like the pip command installs the dependency somewhere else and python can't find it. :/

bain3 avatar Sep 08 '22 17:09 bain3

Input, I have this working fine with my main OS and container, both on ubuntu 22.04 I tried two methods

  • full pronotepy install
  • a step-wise adding of packages, i.e. adding Crypto, BT4 via pip ... and pronotepy only (!) as folder

vingerha avatar Sep 12 '22 06:09 vingerha