How to completely uninstall anaconda and jupyter? Windows 10 - python

My jupyter notebooks are no longer capable of saving files, so I need to completely uninstall all python, jupyter, and anaconda files so that it's like I never had them, but I can't figure out how. Uninstalling anaconda in control panel does not uninstall jupyter. Uninstalling it from anaconda navigator also does not work.

Completely uninstall jupyter:
pip install pip-autoremove
pip-autoremove jupyter -y
pip-autoremove jupyter-core -y
After that run
pip freeze | grep jupyter
and remove any packages with pip uninstall {package-name}.
If pip doesn't work try pip3.
Completely uninstall anaconda:
conda install anaconda-clean
anaconda-clean --yes
Then uninstall via control panel.

Turns out I was uninstalling successfully, but the problem was not Anaconda. The Windows Defender "Controlled Folder" protection was on.

Related

Unable to start session for jupyter kernel python vscode

I have looked at other issues posted on stack overflow and github:
https://github.com/microsoft/vscode-jupyter/issues/728
Unable to start Jupyter notebook on VS Code
A lot of people could run this command:
python -m pip install 'traitlets==4.3.3' --force-reinstall
And this would resolve issues with the jupyter kernel not loading within vscode.
I consistently have issues connecting to the kernel and after a period of time I am presented with a message:
Unable to start session for kernel Python 3.7.4 64 bit ('name_of_virtual_environment'). Select another kernel to launch with.
I am using wsl 2 with ubuntu 20.04 LTS and I have selected the correct python interpreter (for the python extension and in the actual notebook). I am also using pyenv to create my virtual environments.
vscode version 1.52.1
It is recommended that you check whether the dependency package "ipykernel" required by Jupyter notebook has been successfully installed in your chosen python environment: ("pip show ipykernel")
Reference: Jupyter notebook in VS Code.
uninstall jupyter and its dependencies, then reinstall them.
pip uninstall jupyter
pip uninstall jupyter_core
pip uninstall jupyter-client
pip uninstall jupyter-console
pip uninstall jupyterlab_pygments
pip uninstall notebook
pip uninstall qtconsole
pip uninstall nbconvert
pip uninstall nbformat`
reinstall jupyter notebook and plugins
pip install jupyter
pip install jupyter_core
pip install jupyter-client
pip install jupyter-console
pip install jupyterlab_pygments
pip install notebook
pip install qtconsole
pip install nbconvert
pip install nbformat

how to uninstall java-jdk after installing it using anaconda

I have installed Java through anaconda:
conda install -c bioconda java-jdk
how to uninstall it again. I tried pip unintall java; pip uninstall java-jdk, conda uninstall java and conda uninstall java-jdk and nothing worked out.
Any help is much appreciated!!
Try running first
conda list
to see the name of the packages you want to remove
then you can use
conda remove <package_name>
you can also try adding --force but it can cause some issues in the
environment.. so should be used with caution

Cannon uninstall pip3, but pip3 --version shows it is existing

I installed conda and pip, also i have pip3. I installed jupyter notebook with pip, but when i started with jupyter notebook, i didnt have some packages, so i decided to uninstall pip and use jupyter from conda, because jupyter and terminal command 'python' didn't see some packages, that did have conda
i used:
pip uninstall pip
but nothing changes, 'python' and jupyter notebook is still working as he worked before
i tried to do pip3 uninstall pip3, but it says "Cannot uninstall requirement pip3, not installed"
Help me, please, how do i delete pip at all from Linux Mint?
pip3 --version shows "pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)"
pip3 list also works
Maybe question is really stupid, but i`m new to programming, so i really don't understand, how it works, so hoping to your understanding.
Thanks
I think this will work
sudo python -m pip uninstall pip
if you are using python3-pip
sudo apt-get remove python3-pip
sudo apt-get --purge autoremove python3-pip

conda environment doesn't launch jupyter or recognize pip

I created a conda environment (with python 3.6 and Anaconda 3-5.2.0 on a Windows 10 machine) and activated it. I then installed both jupyter and pip using conda install jupyter and conda install pip. Both commands executed without problems.
When I type jupyter notebook or pip install [some package] I get this:
The same happens for the pip command. What might be the cause of this issue?

Cannot install mayvai after uninstalling and reinstalling anaconda due to conflicts

Snapshot of the error that I see
I uninstalled and reinstalled Anconda python 2.7, but when I am trying to do conda install mayavi, I see unsatisfiable error.Conflicts in bottleneck, mayavi and navigator-updator. Also tried doing pip install mayavi, it did not work. Kindly help!
mayavi package seems to have issues with many standard conda packages raising multiple conflicts.
Create new conda environment where you install mayavi, activate it and install mayavi in it.
conda create --name <your env name> python=2
source activate <your env name>
conda install mayavi

Categories

Resources