Unable to create process using "c:\users\hp\anaconda3\python.exe" - anaconda

C:\Users\HP\badminton_site\badminton>scrapy shell https://stackoverflow.com/questions/ask
Fatal error in launcher: Unable to create process using '"c:\users\hp\anaconda3\python.exe" "C:\Users\HP\Anaconda3\Scripts\scrapy.exe" shell https://stackoverflow.com/questions/ask: The system cannot find the file specified.
Why it is showing such error in anaconda prompt and command prompt?

Uninstall and reinstall the pip:
python -m pip uninstall pip
python -m pip install --upgrade pip

Update pip
python -m pip install -upgrade pip

i reinstalled the anaconda in another diretory and that worked for me

Related

trying to set up a virtual environment, zsh: command not found: -m

I'm trying to set up a virtual environment. I have a Mac, using Mac OS Big Sur 11.1. I have installed the latest stable version of python, but when I enter this command into the terminal window
-m pip install pipenv pip --upgrade
I get the following error
zsh: command not found: -m
before, it would say
"No module named pip"
Do I have to install pip separately with
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
I thought pip was included by default when you install python? I think I might have pip because when I type
python3 -m pip
into the command line, I get a long list of commands (install packages, download packages, etc.) General options... Thus should I install pip? one person on reddit said,
Pip is not necessarily included with any version of Python. In many
distributions, it must be installed separately.
If python3 -m pip works, then you have a bad install, not a missing
one.
thus did I incorrectly install python? When I was installing it there was no option to
"add python to PATH"
Do I have to do this on a mac? If I input
python3 -V
in terminal, I get
Python 3.9.2
Thanks
i solved this by running,
pip3 install pip --upgrade

Jupyter error Consider using the `--user` option or check the permissions

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/defusedxml-0.6.0.dist-info'
Consider using the --user option or check the permissions.
pip install --user jupyter
the above command doesnt seem to work
I faced sam issue trying to upgrade pip.
I wasn't been able to do that with:
!python -m pip install --upgrade pip
But it run ok with:
!python -m pip install --upgrade --user pip
For installing Jupyter Notebook
try using:
pip install --user notebook
instead of:
pip install notebook
If you have root access you can try:
sudo pip install jupyter

even after using pip update command, the version remains the same

I was just trying to download packages using pip in the terminal in pycharm and there was a notice from pip saying "You are using pip version 10.0.1, however, version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command."
I ran the command but when I typed "pip -V" to check the version, it remained the same 10.0.1. And when I run the command, it says that pip is already up to date
How can solve this?
Your python and pip seem to point to different python versions. Check by typing which python or where python in the terminal.
To make sure they match, you can use
python -m pip install --upgrade pip (as you did) for upgrading
python -m pip install <package name> for installation

Cannot install jupyter notebook

In windows 7, I try to install jupyter notebook using:
pip3 install jupyter
But I get error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-5in28fbw\pywinpty\
Best thing to do is to install Anaconda here
It includes its own "conda" terminal window for "windows", which will make it a lot easier for you to invoke jupiter notebook from the conda terminal, regardless of which folder you are in
First update if using linux system:
sudo apt-get update
sudo apt-get upgrade
Restart the system and try below steps:
Installing Jupyter with pip
As an existing or experienced Python user, you may wish to install Jupyter using Python’s package manager, pip, instead of Anaconda.
If you have Python 3 installed (which is recommended):
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install jupyter
If you have Python 2 installed:
sudo python -m pip install --upgrade pip
sudo python -m pip install jupyter
Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows Run CMD in Admin):
jupyter notebook
Update your setuptools and pip first then retry:
pip install --upgrade setuptools pip

New to Homebrew, no pip install?

I just downloaded homebrew, and want to download ipython notebook.
pip install ipython
-bash: pip: command not found
Thanks.
I ended up doing a brew sudo install pip, and now I'll do sudo pip install for every package.

Resources