How to uninstall jupyter in Windows? - python

This question have been asked a handful of times but none of the answers I have found have helped me at all.
I installed jupyter in my local Python 2.7 enviroment. Then installed Anaconda3 to run Python 3.6 and because the Conda distribution supports some packages I could not install locally via pip.
However the existing Python 2.7 jupyter installation is clashing with the Anaconda one. As I mentioned do not seem to be able uninstall jupyter via any of the methods I could find, and pip uninstall jupyter simply outputs Cannot uninstall requirement jupyter, not installed.
How can I uninstal jupyter so only the Anaconda one exists in my machine?

Related

Tensorflow_docs not showing up in environment's install window

I want to import tensorflow_docs in a PyCharm python file. The I've installed it by
pip install git+https://github.com/tensorflow/docs
In PyCharm, the interpreter's install window does not contain tensorflow_docs as a package. I tried
conda install git+https://github.com/tensorflow/docs
At first, attempting to install tensorflow_docs gave the readout:
"Requirement already installed in anaconda/..."
I uninstalled with pip and reinstalled from github, but it still won't show up in PyCharm.
This may not be the exact solution and just an idea, but try creating a new environment so there is a fresh state to build on top.

Trouble installing some libraries in python (oauth2client and gspread)

I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them.
From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install.
And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either.
What I don't understand is: to install packages/libraries on python 3.x, should i only use pip3? But what if there is more than one python environment? On which one pip will install those libraries?
If you're using Anaconda, you should also have an Anaconda Prompt (py37) program that functions like the terminal. Typing pip install --upgrade oauth2client into Anaconda Prompt (py37) will install the upgrade into your current python environment. Alternatively, you can use conda install with more options (including specifying which environment you want).

Uninstalled all pip, Homebrew, and Anaconda packages, but Jupyter Notebook still works

I installed Jupyter either through pip, Homebrew, or Anaconda. My packages and stuff are all getting messed up, so I want to completely start over from scratch as if I got a new computer. I followed instructions for uninstall pip, Homebrew, and Anaconda packages, but running jupyter notebook in Terminal still works.
Any help to kind of reset my computer?
Uninstalling the installing software (like pip, homebrew, or anaconda) won't uninstall things you installed with it. What to do to fix this depends on what you used to install jupyter notebook, but the first step is to reinstall the installer you used. Then:
If you used pip, get pip again and run this command:
pip uninstall jupyter
You might have to do this instead:
python3 -m pip uninstall jupyter
If you used Homebrew, do this:
brew uninstall jupyter
If you used Anaconda you should do this (from this answer):
conda remove jupyter jupyter-client jupyter-console jupyter-core

Pip Install throws error code 1

Recently switched from MacOSX to a ThinkPad with Windows 10.
Installed Python 3.7, Pip 9
Attempted pip install jupyter and received the following error:
Command python setup.py egg_info failed with error code 1 in
C:\Users\BRIANM~1\AppData\Local\Temp\pip-build-greiazb7\pywinpty\
Uninstalled setup tools, upgraded setup tools, upgraded pip, ran as admin, all the traditional fixes are not working.
Anyone have a fix?
Check that you have installed the 64-bit version of python and try again with
pip3 install jupyter notebook
If it still doesn't work than I would prefer you to use Anaconda it offers the easiest way to install, run and update libraries and packages and virtual environments for windows.
It comes with jupyter notebook pre-installed. On the jupyter notebook doumentation page they also recommend installing it using anaconda
I had the same problem and I found a solution that worked for me. Instead of pip I used: py -m easy_install textract
You should downgrade to python 3.6.5 (after trying all ways you can find on the Internet).
Today, I install python 3.7.0b5 on a new computer(windows 10). Then pip install didn't work with this error code 1. I tried all methods I can find on the Internet. And still stuck here. So I downgrade to 3.6.5 which works well on my mbp. Finally, it works!!!

Jupyter Notebook - Python 3 kernel

I have Jupyter Notebook installed and working. However it only has python 2 kernel.
I tried reinstalling Anaconda with Python 3.6 version of python, which worked fine (apart from deleting all my environments, etc.), but no change in relation to the kernels available for Jupyter.
I have tried installing jupyter using pip (the solution to this question), but I get the error message Requirement already satisfied: jupyter in c:\users\username\anaconda2\lib\site-packages
Any ideas?
Are you using pip3 install jupyter?
a more robust solution would be to isolate your environments with something like pipenv.
pip install pipenv
pipenv install --three
this will install a virtual environment with python3
install packages
pipenv install jupyter
activate the env
pipenv shell
start the notebook
jupyter notebook
You should be able to see the python3 option now.

Categories