GCV Error: No Module Named...

GCV scripting for Gtuner IV and Titan Two. Configuration, examples, questions.

GCV Error: No Module Named...

Postby GarrisonXV » Thu Nov 26, 2020 12:53 am

I am trying to import pytesseract to use inside my GCV script to detect text and numbers on screen, but when I added the line 'import pytesseract' I get an immediate error GCV Error: No Module Named Pytesseract. I know that pytesseract is installed and working as I can use it in other scripts that are in the same folder as where I keep my GCV script. Why am I unable to import this module? Thanks!
User avatar
GarrisonXV
Sergeant
Sergeant
 
Posts: 9
Joined: Wed Nov 11, 2020 1:03 am

Re: GCV Error: No Module Named...

Postby Mad » Thu Nov 26, 2020 5:44 am

Do you have other python versions installed? You may have installed the module for another version.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: GCV Error: No Module Named...

Postby GarrisonXV » Thu Nov 26, 2020 5:52 am

Mad wrote:Do you have other python versions installed? You may have installed the module for another version.

Nope just python 3.8.
User avatar
GarrisonXV
Sergeant
Sergeant
 
Posts: 9
Joined: Wed Nov 11, 2020 1:03 am

Re: GCV Error: No Module Named...

Postby GarrisonXV » Thu Nov 26, 2020 5:59 am

Nevermind I figured it out. I had to target an install of pytesseract to the site-packages directory
User avatar
GarrisonXV
Sergeant
Sergeant
 
Posts: 9
Joined: Wed Nov 11, 2020 1:03 am


Return to Gtuner Computer Vision

Who is online

Users browsing this forum: No registered users and 43 guests