Never name your python file "photoshop.py" #190
muhammad-mobeen
started this conversation in
General
Replies: 2 comments 1 reply
-
Did you use pip to install this package?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@muhammad-mobeen Could please give me more context information? such as your python version, and your system version, we tested and support windows 7 or windows 10. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions