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.
Related
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
I am a newbie to Airflow. i have some trouble to remove Airflow v1.10.3 ,i am using pip3 version 8.1.1 on Ubuntu 16.04.
I already tried to remove pip with sudo apt-get remove python3-pip
and sudo apt-get remove pip3 and all his dependencies.
and tried to remove all libraries related with Python.
But i stil have Airflow and his commands down in terminal.
If you are not able to uninstall with
pip uninstall airflow
Maybe the reason is for the latest versions of Airflow this command will work
pip uninstall apache-airflow
Credits to This Answer.
The command apt-get remove pip doesn't remove pip-installed libraries.To uninstall pip-installed libraries you need to install pip back and then uninstall the libraries using pip:
sudo apt install pip # or pip3
pip uninstall airflow
or
pip3 uninstall airflow
depending on what python version you use.
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
While updating pip on mac using the command
pip install --upgrade pip I am getting the following error
What should I do?
Looks like you need to run it with sudo.
sudo pip install --upgrade pip
I'm trying to install pygame on my mac. I'm running OSX El Capitan 10.11.5. When i try installing pygame via pip3:
pip3 install pygame
It comes out with this error
-bash: /usr/local/bin/pip3: /usr/local/opt/python3/bin/python3.5: bad interpreter: No such file or directory
I have checked that pip3 is actually installed by typing
which pip3 -version
/usr/local/bin/pip3
I am at a total loss and it's confusing me quite a bit.. Am i doing it wrong?
Upgrade pip and try
pip install -U pip
After install a virtualenv
pip install --ignore-installed virtualenvwrapper
Edit .bash_profile, in terminal write
echo "source /usr/local/bin/virtualenvwrapper.sh" >> .bash_profile
Refresh bash_profile, in Terminal write source .bash_profile
Make a virtualenv and using python3
mkvirtualenv MyProject --python=python3
And go to your virtualenv
workon MyProject
Now install pygame from pip pip install pygame or pip3 install pygame