Closed DashLt closed 7 years ago
I've narrowed it down to a problem with GDB. I've put this binary everywhere I could think it could go (system32, lib/pyringe, lib), changed gdb to gdb.exe, and changed split('\n')[0]
, to split('\n')[1]
since the first line is now:
This binary was built by Equation Solution http://www.Equation.com.
I still have the same error though. Could this be a problem with subprocess?
Figured it out. Steps to solve:
Hi, I am having the same issue, but I am not getting the last line "WARNING:root:Inferior is not running", I get the following traceback :
File "c:/Users/UserOne/Documents/FolderA/FolderB/FolderC/FolderD/ocr.py", line 675, in
digitL, lengthL = DigitSearch(cntL, rectL)
File "c:/Users/UserOne/Documents/FolderA/FolderB/FolderC/FolderD/ocr.py", line 451, in DigitSearch
digit, length = TesseractOCR(cnt, rect)
File "c:/Users/UserOne/Documents/FolderA/FolderB/FolderC/FolderD/ocr.py", line 256, in TesseractOCR
digit_str = (pytesseract.image_to_string(Image.open(i)))
File "C:\Users\UserTwo\anaconda3\envs\virenvTest3\lib\site-packages\pytesseract\pytesseract.py", line 161, in image_to_string
config=config)
File "C:\Users\UserTwo\anaconda3\envs\virenvTest3\lib\site-packages\pytesseract\pytesseract.py", line 94, in run_tesseract
stderr=subprocess.PIPE)
File "C:\Users\UserTwo\anaconda3\envs\virenvTest3\lib\subprocess.py", line 394, in init
errread, errwrite)
File "C:\Users\UserTwo\anaconda3\envs\virenvTest3\lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
After following steps 1-6 I'm still getting the same error. Do I need to carry out both the suggestions from the "I've narrowed it down" post and the steps from the "Figured it out."? Any help will be much appreciated.
When attempting to inject into either a process that runs on python, or a normal python.exe interpreter, I get the error:
I'm running Windows 10 on Python 2.7.13.