Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image pathname error #10

Open
sacha-l opened this issue Jan 6, 2021 · 2 comments
Open

Image pathname error #10

sacha-l opened this issue Jan 6, 2021 · 2 comments

Comments

@sacha-l
Copy link

sacha-l commented Jan 6, 2021

I can't seem to figure out why I keep getting this error:
is not a valid pathname to an image.

Any idea why this is happening? I've tried variations of file path names, with " " and without.. I'm on a Linux machine.

@DoubleFL3X
Copy link

  • In the first line change
    import PIL to from PIL import Image
  • and in line 29 remove this PIL.

@bljptrpl
Copy link

bljptrpl commented Jun 12, 2023

Following @DoubleFL3X
and you input the following

./pic.jpg
or
/home/derp/Desktop/github/py-scripts/ascii/pic.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants