How To Fix ‘“error: Command Errored Out With Exit Status 1:” When Trying To Install Watchdog Using Pip
I am revisiting the python language and experiencing difficulty setting up my environment. I am using - Mac Mojave (10.14) - python 2.7.10 (packaged with the system) - python 3.7
Solution 1:
When you run pip install
, exactly which pip
gets used depends on several things like your PATH
, shell, shell configuration, and operating system.
The best thing to do is invoke pip using <python> -m pip
where <python>
is the Python that you want to install the package for. For example, if you run python3
to use the Python that you want to install the package for, then run python3 -m pip
.
If you're running python3 -m pip install ...
and getting permission errors, then you can execute python3 -m pip install --user ...
, which will install it to your user site-packages directory and available when you execute python3
under your user.
Solution 2:
You need to upgrade setuptools
and pip. You can do that by running:
pip install -U pip setuptools
Post a Comment for "How To Fix ‘“error: Command Errored Out With Exit Status 1:” When Trying To Install Watchdog Using Pip"