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

Never name your python file "photoshop.py" #191

Open
muhammad-mobeen opened this issue Oct 5, 2022 Discussed in #190 · 1 comment
Open

Never name your python file "photoshop.py" #191

muhammad-mobeen opened this issue Oct 5, 2022 Discussed in #190 · 1 comment

Comments

@muhammad-mobeen
Copy link

Discussed in #190

Originally posted by muhammad-mobeen October 5, 2022
I just pip-installed this API and was testing it with the hello world template but it was giving me the following error:-

"No module named 'photoshop.api'; 'photoshop' is not a package"

I wasted countless hours to find the solution with no luck and then a eureka moment happened I changed the file name from "photoshop.py" to "ps.py" and it worked like a charm. The problem was probably because the file name confused python on what to import. So silly.

@zimonitrome
Copy link

Wow I did the EXACT same thing. Thanks for saving me some hours!

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

2 participants