Open yang571520 opened 4 years ago
the line info have write in the file ,you can run the cmd with adminstrator
I upgraded the lsd algorithm version from 1.5 to 1.6, and solved the FileNotFoundError. Now it works on python3.
You can install it with pip install pylsd2
File "D:\Program Files\pycharm\PyCharm 2020.1.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "D:\Program Files\pycharm\PyCharm 2020.1.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "E:/codeProject/py/LSD.py", line 9, in
lsd(gray)
File "C:\Users\yang\anaconda3\lib\site-packages\pylsd\lsd.py", line 22, in lsd
fp = open(temp, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'E:/codeProject/py/845480ntl.txt'