-
Notifications
You must be signed in to change notification settings - Fork 12
Description
sorry I don't know if what I'm saying is ridiculous or stupid.
I'm not even a developer >> just a student trying to get his project done at last minute
but I tried running the exact code but I got this error :
FileNotFoundError: [WinError 3] The system cannot find the path specified: '/dev/random'
environment: VSCode , Win10 , Py3.8.2
for full Error message :
Traceback (most recent call last):
File "xx", line 4, in
shamir.to_base64(shamir.split_secret("this is my secret".encode('ascii'), required_shares, distributed_shares))
File "xx\Python\Python38-32\lib\site-packages\sslib\shamir\shamir.py", line 73, in split_secret
with kwargs.get('randomness_source', randomness.RandomReader() if secret_length <= 65 else randomness.UrandomReader()) as randomness_source:
File "xx\Python\Python38-32\lib\site-packages\sslib\randomness.py", line 15, in enter
if os.stat("/dev/random"):
FileNotFoundError: [WinError 3] The system cannot find the path specified: '/dev/random'
sorry again just trying to help