#πŸ”’ I don't know what the problem is

19 messages Β· Page 1 of 1 (latest)

wicked wharf
#

I think i gave enough info, i honestly dont know what the problem is, im trying to code something to where when it sees a certain image .png file, it will locate it and click it

tranquil swiftBOT
#

@wicked wharf

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

ocean jolt
wicked wharf
#

whats ide

ocean jolt
#

your editor

#

vscode I think it is?

wicked wharf
#

ok, i use vsc btw

wicked wharf
#

its sayign the error is with the "np" part

ocean jolt
#

hm

#

according to your screenshot your syntax is right

wicked wharf
#

btw chatGPT wrote the code 😐

ocean jolt
#

!e

import numpy as np
a = np.array([[1,2],[3,4]])
print(a)
tranquil swiftBOT
#

@ocean jolt :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | [[1 2]
002 |  [3 4]]
wicked wharf
#

does that mean no errors?

tranquil swiftBOT
#

@wicked wharf :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     import cv2
004 | ModuleNotFoundError: No module named 'cv2'
wicked wharf
#

i dont think i installed cv2 :>

tranquil swiftBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.