I am trying to uninstall jupyter.
pip uninstall jupyter
, it gives me this error:
Cannot uninstall requirement jupyter, not installed
but which jupyter
says
/usr/local/bin/jupyter
I tried using pip install pip-autoremove
and then pip-autoremove jupyter -y
but that gave this error:
Traceback (most recent call last):
File "/usr/local/bin/pip-autoremove", line 11, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 109, in main
autoremove(args, yes=opts.yes)
File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 21, in autoremove
dead = list_dead(names)
File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 28, in list_dead
start = set(map(get_distribution, names))
File "/Users/<username>/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 562, in get_distribution
dist = get_provider(dist)
File "/Users/<username>/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 436, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/Users/<username>/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 981, in require
needed = self.resolve(parse_requirements(requirements))
File "/Users/<username>/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 867, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jupyter' distribution was not found and is required by the application
Edit
updating question to include output of pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
jupyter-client (5.1.0)
jupyter-console (5.2.0)
jupyter-core (4.3.0)