I installed a program with pip (e.g. simple-plotter) in windows using the following command:
py -m pip install simple-plotter
How do I run the program I installed? In Linux, I can just type the command in a terminal, but if I type in windows, I get a "not recognized as an internal or external command" or if I run in Python I get a "No module named" error.
I think the error occurs because the Scripts folder is not on PATH in the environment variables, while in Linux it probably is (I don't know a lot of Linux so I don't know how environment variables work there, anyway):
the best way to solve this is by adding the Scripts python folder to PATH:
In my case it is C:\Users\MyUser\AppData\Local\Programs\Python\Python37-32\Scripts
So, press WIN(windows key) + PAUSE_BREAK(near print screen key)
Then click on Advanced System Configuration
(Sorry if it's not accurate, my system is in portuguese)
After that click in Environment Variables
Then, select Path
and click edit
Click in new, add the path and hit the OKs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With