How can I install it? I tried many times …
thanks
Giorgio
What exactly did you try? What error messages are you getting? Please post them with source code formatting (the </>
button).
In riga:1 car:1
- pip install pyperclip
-
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
For others, this output indicates Windows Powershell.
For OP: by default on windows pip is not installed as a global command for various reasons. How you best invoke it depends on how you are executing your python scripts. You can try py -m pip install pyperclip
using the py launcher, but if you are using an IDE that automatically created a virtual environment you need to install the package within that venv.
I solved: I missed some options (like pip launcher) when I installed Python!
Now ot’s OK
Thank you
That also works, although this will get messy if you ever install other versions of python. There ie a reason the defaults are the way they are.
It seems you’re right. Because NOW I got
ModuleNotFoundError: No module named ‘pyperclip’
I suppose that the installation is once. correct? there’s problem in which folder was saved this application?
Now the question is how you are running python. I am not going to be able to respond for a few hours, maybe someone else can help out.
Hello! I reinstalled Python once again! Now I placed the program in C:/Programmi/Python313
instead the pyperclip was installed in c:\users\MyName\appdata\roaming\python\python313\site-packages (1.9.0)
This is the problem when I import it, I get
ModuleNotFoundError: No module named ‘pyperclip’ )
Thanks again
Giorgio