-1

I am having trouble running codes that utilize Paramiko and break with the error in the title.

PyCrypto for Python 3.4 on Windows 8.1 cannot find winrandom module

I've tried this solution but it doesn't work. Almost all posts related to this problem suggests the same thing. Was wondering if there could be alternative solutions and/or other underlying problems.

For context I am using Python 3.6

N Trn
  • 1

1 Answers1

0

before everything, just know that according to the docs:

"cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic standard library". It supports Python 3.7+ and PyPy3 7.3.11 so using python 3.6 might be a bad idea.

second, i have no idea what line did you use to import the winrandom, so i can't 100% be sure what's the issue, but regardless, if you try to import something and fail, it's probably best to try and look through the project and find the location of the file. you can use the github page or try and find it in your enviroment (which is C:\Users\oriri\AppData\Roaming\Python\Python311\site-packages unless you're using a VENV). look throught the package and try to find windrandom. if you can't find it, then it's probably a class, and you need to use some sort of an IDE that can look throught the project and find classes. so try out everything i said so far, and if everything fails, then just reply to this post. also, please show me the import statement you used for importing winrandom.