Giter Site home page Giter Site logo

no modele named cv2 about alauto HOT 6 CLOSED

egoistically avatar egoistically commented on June 7, 2024
no modele named cv2

from alauto.

Comments (6)

EggsOnRamen avatar EggsOnRamen commented on June 7, 2024 1

Thank you for your help, i did have another copy of python(microsoft store) because i couldt use pip when i first downloaded it.
Uninstalled the other version on python and ran the program.

from alauto.

Egoistically avatar Egoistically commented on June 7, 2024

Give more details...

from alauto.

EggsOnRamen avatar EggsOnRamen commented on June 7, 2024

sorry im new to this stuff, im trying to run this on my phone

C:\Users\utente\Desktop\ALAuto-master>python ALAuto.py
Traceback (most recent call last):
File "ALAuto.py", line 3, in
from modules.combat import CombatModule
File "C:\Users\utente\Desktop\ALAuto-master\modules\combat.py", line 3, in
from util.utils import Region, Utils
File "C:\Users\utente\Desktop\ALAuto-master\util\utils.py", line 1, in
import cv2
ModuleNotFoundError: No module named 'cv2'

from alauto.

Egoistically avatar Egoistically commented on June 7, 2024

pip3 install -r requirements.txt

from alauto.

EggsOnRamen avatar EggsOnRamen commented on June 7, 2024

i already had the requiremesnts installed

`C:\Users\utente\Desktop\ALAuto-master>pip3 install -r requirements.txt
Requirement already satisfied: opencv-python==3.4.4.19 in c:\users\utente\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 1)) (3.4.4.19)
Requirement already satisfied: scipy==1.1.0 in c:\users\utente\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 2)) (1.1.0)
Requirement already satisfied: imutils==0.5.3 in c:\users\utente\appdata\local\programs\python\python37\lib\site-packages (from -r requirements.txt (line 3)) (0.5.3)
Requirement already satisfied: numpy>=1.14.5 in c:\users\utente\appdata\local\programs\python\python37\lib\site-packages (from opencv-python==3.4.4.19->-r requirements.txt (line 1)) (1.17.4)
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\utente\Desktop\ALAuto-master>python ALAuto.py
Traceback (most recent call last):
File "ALAuto.py", line 3, in
from modules.combat import CombatModule
File "C:\Users\utente\Desktop\ALAuto-master\modules\combat.py", line 3, in
from util.utils import Region, Utils
File "C:\Users\utente\Desktop\ALAuto-master\util\utils.py", line 1, in
import cv2
ModuleNotFoundError: No module named 'cv2'`

from alauto.

hjk22 avatar hjk22 commented on June 7, 2024

Have you installed different versions of Python on your computer (for example you have installed both Python 2.7 and Python 3.7)?

from alauto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.