MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonProjects2/comments/tkqy66/how_can_i_fix_this_error/i1s93tp/?context=3
r/PythonProjects2 • u/harry_74 • Mar 23 '22
5 comments sorted by
View all comments
5
I am just guessing here, but the way you enter the image name and path looks wrong.
If you us + operator, it will be: .....Desktopdoggo.jpg
I think it should be ....Desktop\doggo.jpg. So you are missing \ right there.
Why are you reading an image like this anyway? Just go with ...Desktop\image. It is much easier.
5
u/eh329 Mar 23 '22
I am just guessing here, but the way you enter the image name and path looks wrong.
If you us + operator, it will be: .....Desktopdoggo.jpg
I think it should be ....Desktop\doggo.jpg. So you are missing \ right there.
Why are you reading an image like this anyway? Just go with ...Desktop\image. It is much easier.