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

Error: File is not in the directory #17

Open
Mubeen-Ul-Hassan opened this issue Jan 8, 2024 · 2 comments
Open

Error: File is not in the directory #17

Mubeen-Ul-Hassan opened this issue Jan 8, 2024 · 2 comments

Comments

@Mubeen-Ul-Hassan
Copy link

Mubeen-Ul-Hassan commented Jan 8, 2024

Screenshot 2024-01-08 190109
I have import "colorgram" module in my program, but it shows the error that file or directory is not found.
As on my observation there is a bug which is casuing this issue. I have one project folder and in that there are some other folders and in that folder, I had import the "colorgram" module but it shows error when file is run. But observation is that it not work properly in nested folders. But when I create a folder on desktop and in that folder I create a file and place my sample image there, but this time it shows no error.

So I think it show error when this module is call in the nested folder. Or may I am the only one facing this issue.

@FooKaiShen
Copy link

i have the same issue too 😢

@Lundychannn
Copy link

Same here.
I use nested folders all the time for better management on files, but the error reports that the path where colorgram is installed is the directory of these folders. And even though I change the directory to the specific folder, the error will become 'PIL.UnidentifiedImageError: cannot identify image file' instead...🥲

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