Anaconda navigator and Python unstallation - python

I uninstall the Anaconda navigator from my window laptop. But still Anaconda3 files show in location which I installed. And still Anaconda Prompt(Anaconda3) / Anaconda powershell Prompt(Anaconda3) available when I search using search bar why its still show after the uninstall???
And again I installed Anaconda navigator Then I take Anaconda Prompt(Anaconda3) but its show following
Error: "The system cannot find the path specified."
how to resolve this issue?

please try the following steps
1. execute conda init in your command prompt.
2. restart the anaconda prompt.
this will initialize the environment again.

Related

After Anaconda installation, python gets recognized in cmd launched by Anaconda Navigator only - Does it mean python can be used within Anaconda?

Learning from this post , I understand that installing Anaconda on Windows 10 PC will automatically install Python compiler, so we don't need to install Python separately after we install Anaconda. Sounds good.
I install Anaconda and then start the Navigator.
Then I launch CMD.exe from Anaconda Navigator and type python --version to check the python compiler installed on my machine. So far so good.
Then I start CMD.exe manually from windows 10 as Administrator (Click Start --> Type CMD manually --> Right Click --> Run as Administrator).
Then I type python --version , it shows "Not Found".
Does it mean that when installing Anaconda , Python is available only within Anaconda platform? Not globally anywhere within the Windows OS ?
This is only an issue of how PATH is set. Note how there is an additional (base) prepended to the C:\>.... prompt. This indicates that a conda environment is currently active, which is what you are currently referring to as being "inside of anaconda". But more correctly, you should think of it like: I have a cmd prompt and the conda base environment is currently active.
When you run cmd from anaconda navigator, this get's done automatically. When you launch it by just starting cmd.exe, then this does not get done automatically. This behaviour could be influenced by checking the Add Anaconda to PATH during the installation.
To get a cmd prompt with the (base) environment active, you can do different things:
Start cmd from your anaconda navigator (as you have done so far)
Start the Anaconda Command Prompt, which you can find through hitting the windows key and then start typing the name
Start a normal cmd and then execute <CONDA Install Dir>\Scripts\activate.bat

Anaconda will not run

I've installed Anaconda 3, version 2020.02 (current version straight from the website, 64 bit), and cannot figure out how to run it. When I search (on Windows) for Anaconda prompt or Anaconda navigator, I cannot find either. When I try to run any commands like conda init or anaconda-navigator on the command line, it says 'conda is not recognized as an internal or external command'. Yet it did install successfully (supposedly); the installed Anaconda3 files are where they should be. I have added the proper filepath to my system PATH variable, and added Anaconda3/Scripts to the PATH variable as well; neither of these make a difference. Typing 'where conda' on command line results in 'INFO: Could not find files for the given patterns'. I have uninstalled Anaconda and reinstalled an earlier version, and this does not work either. What next steps should I take to try to get Anaconda to run?
Install Anaconda and don't change any of the default settings. This will install Anaconda in your user profile and add the c:\users\user_name\AppData\Anaconda3\condabin folder to your system path. But before you can actually use Anaconda, you'll need to activate an environment. Either use the Anaconda prompt shortcut or open a cmd shell and type conda activate. If the the prompt doesn't change to (base) C:\users\user_name> Anaconda won't work. Adding ../Anaconda3/Scripts to the PATH simply isn't sufficient. If necessary go to the c:\users\user_name\AppData\Anaconda3\condabin folder and run conda init again.

activate.bat is not recognized as internal external command

I'm a beginner in machine learning so tried installing ANACONDA after the complete installation as the tutorial shows it doesn't ask me to install VS code.
That's not issue I can download it separately but I cant find the anaconda navigator.
when I open the anaconda prompt it shows activate.bat is not recognized as internal external command can you please help me if you know what is the problem.
I'm struggling in this issue from past 3 days... reinstalled countless time. Tried installing miniconda.
After installing still navigator doesn't appear.
But Promt works fine here so can run commands to install the navigator.
When the navigator gets installed I cant launch any apps like Jupyter notebook or spyder.
It shows Spyder Crashed.
Any help is appreciated.
Procedure that I followed.
1) Installed Anaconda
2) I did not find Navigator nor did the anaconda promt start it shows activate.bat is not recognized as internal external command.
3) So uninstalled anaconda and installed Miniconda in this anaconda prompt works fine but navigator wasnt there so i followed this post
Anaconda Installed but Cannot Launch Navigator
4) Then I could use the navigator and while I try to launch the spyder or the jupyter it throws error saying spyder crashed during last session
Can anyone help?

Jupyter notebook and Anaconda Navigator does not show after installing Anaconda

After installing Anaconda3 I tried to search in my start menu for Anaconda Navigator but it just doesn't show. All I get when typing Anaconda in my start menu is Anaconda Prompt, I have tried to launch jupyter notebook from the Anaconda Prompt but it says that "jupyter n'est pas reconnu en tant que commande interne ou externe", and it's the same for Anaconda Navigator.
I want to add that I select the case that add Anaconda to the Path and I have installed miniconda too and I didn't have any error message while installing.
Yes I was having the same issues after installing Anaconda3-5.2.0-Windows-x86_64 on Windows 10. Though my previous install of Python 3.6.5 was working quite well.
A possible workaround - which worked for me beautifully - is to uninstall the Anaconda3-5.2.0 and install an old version.
Try Anaconda3-4.0.1 as I did from https://repo.continuum.io/archive/
While installing just accept all the defaults.
Confirm that the Navigator is installed from the Start Menu or launch from command prompt with this command:
anaconda-navigator
Once you are sure it is running - close and again from command prompt update to current version with:
conda update --all
Then:
conda update anaconda
You should now be good to go!
i solved my problem by del .condarc file. And restart Navigator. That's ok.
I tried an old version of Anaconda exactly Anaconda3-4.0.1 and it works. Now I have my Anaconda Navigator and can launch jupyter notebook.
This problem also happened to me under Ubuntu 16.04 LTS.
I solved my problem by changing my BASHRC file (~/.bashrc).
In this file, there is one line added by Anaconda installer:
export PATH="/home/mustafa1/anaconda3/bin:$PATH" # commented out by conda initialize
I just removed the # sign to make it work (of course I typed "source ~/.bashrc"), now I can see everything. I can use jupyter-notebook and anaconda-navigator.
Thus, my problem was a PATH issue. I think it is important where you install your anaconda.

Anaconda Installed but Cannot Launch Navigator

Anaconda (listed as "Python 3.6.0 (Anaconda 4.3.1 64 bit)" ) is in my programs and features list, but there is seeming no Anaconda Navigator desktop app, as their seems to be no icon on my desktop and I am unable to search for it through "Start". Could this be because I have the 32-bit version of Anaconda downloaded and I have a 64-bit OS (I thought I should do this because Python on my computer was 64-bit) or because I downloaded Anaconda under "users" instead of Desktop. I also downloaded Anaconda twice, if that could be causing some of the problem. I have a Windows 10 laptop, if that is any help.
Try to
source ~/anaconda3/bin/activate root
anaconda-navigator
https://github.com/ContinuumIO/anaconda-issues/issues/1580
Open up a command terminal (CTRL+ALT+T)
and try running this command:
anaconda-navigator
When I installed Anaconda, and read the website docs, they said that they tend to not add a file or menu path to run the navigator because there are so many different versions of different systems, instead they give the above terminal command to start the navigator GUI and advise on setting up a shortcut to do this process manually - if that works for you it shouldn't be too much trouble to do it this way - I do it like this personally
How I solved this issue:
1. Be connected to the internet.
2. Open the Anaconda Prompt (looks like a regular command window).
If you installed the .exe in your /name/user/ location you should be fine, if not navigate to it.
Then start an environment.
conda info --envs
Then run
conda install -c anaconda anaconda-navigator
Press y when prompted (if prompted). It will being downloading the packages needed.
Then run your newly installed Anaconda Navigator
anaconda-navigator
It should start, and also appear in your regular windows 10 apps list.
activate the virtual env with command:
conda activate base
run anacond anavigator
anaconda-navigator
when you will type anaconda in windows 10 search bar it will give you the list as
then in terminal you have to type anaconda-navigator as
it will start anaconda on your machine.
Yet another option which worked in my case on Windows 10: Try uninstalling your previous installation, restart the system and run the installation again. Make sure you don't start any programs before installing Anaconda. You will find the installation finishes without prompting any kind of errors.
Type in Anaconda in your Windows 10 Search bar. You will find Anaconda Prompt appear.
I figured out the reason as to why:
1-There seems to be no navigator icon
2-When conducting the above steps of running the "anaconda-navigator" command in prompt (whether cmd or Anaconda) it yields "anaconda navigator is not recognized as an internal or external command"
This was very frustrating to me as I'd installed the proper version multiple times with no avail.
To solve this problem :
in the installation process, there will be an advanced options step with 2 selections one of which is unchecked (the top one). Make sure you check it which will add the navigator to the path of your machine variables.
Cheers,
Hossam
it works :
export PATH=/home/yourUserName/anaconda3/bin:$PATH
after that run anaconda-navigator command. remember anaconda can't in Sudo mode, so don't use sudo at all.
I faced the same problem on Windows 10. As soon as I cleared my Path variable from edit environment variables option, the icon started to appear. It was occurring because I had previously installed python 3.6.1 on my computer and added it to my path variable as C:\Python36;C:\Python36\DLL; and so on. There isn't any need to uninstall Anaconda Navigator and start from scratch if you have correctly followed the steps mentioned at the documentation for it.
Try restarting the system! You will be able to find the navigator once you restart the system after installation.
Tried all solutions here but these 2 steps solved the issue:
1) manual update of open-ssl from here:
https://slproweb.com/products/Win32OpenSSL.html
2) update OpenSSL using conda update openssl command in the Anaconda Prompt
solved the issue!
I had a similar issue today where only the prompt was available after installation.
Finally solved this by un-installing my regular python installation and then install anaconda(anaconda 3 v5.2.0, with python 3.6).
I also have the issue on windows when i am unable to find the anaconda-navigator in start menu.
First you have to check anaconda-navigator.exe file in your anaconda folder if this file is present it means you have installed it properly otherwise there is some problem and you have to reinstall it.
Before reinstalling this points to be noticed
1) You have to uninstall all previous python folder
2) Check you environment variable and clear all previous python path
After this install anaconda
your problem will be resolved if not tell me the full error i will try to solve it
Uninstall your Anaconda, delete the folder where it was. Then reinstall it.
You might not be in a anaconda environment
Below is a link how to activate the environment from the official documentation
On Windows, in your Anaconda Prompt, run activate myenv
https://conda.io/docs/user-guide/tasks/manage-environments.html#activating-an-environment
And then run the anaconda navigator from the anaconda prompt by entering the command anaconda-navigator
100% Solved.
While Installing make sure you are connected to Internet.
If already installed anaconda, open the anaconda command prompt and type following command:
conda install -c anaconda anaconda-navigator
(internet connection is required)
Note: In some cases restarting may solve the issue of navigator.
This is what I did
Reinstall anacoda with ticked first check box
Remember to Restart
I have that error an the solution was to install the Win64 OpenSSL.
https://slproweb.com/products/Win32OpenSSL.html
Download and install Miniconda first from this link and later on download and install Anaconda. Then you will be able to see the navigator in your all programs list in the start menu. I hope this will help you. Let me know in case of any concerns.
In my case; it was available in the anaconda folder in "All App" from main menu
For people from Brazil
There is a security software called Warsaw (used for home banking) that must be uninstalled! After you can install it back again.
After thousand times trying, installing, uninstalling, cleanning-up the regedit that finally solved the problem.
First Run This Command
conda config --set auto_activate_base True
Then Run This Command
anaconda-navigator.
Turn off your internet connection, then open your terminal and type anaconda-navigator or type anaconda prompt in the search bar and double click on the anaconda prompt.
If anaconda is opened, then you can turn on your Wi-Fi.
I'm also faced with this issue. When I checked conda --version got a command not recognized error. Then I set the environmental variables as in https://stackoverflow.com/a/61372328/13370201. After that run anaconda navigator command. Then it started to initializing anaconda navigator.This tutorial also help for me.
I faced the same problem in Solus Baidge but I solved by activating the conda environment.
First activate
conda activate
Then run the navigator
anaconda-navigator
Make sure to run the installer as admin
In my case (Windows 11) it was a permission problem. Make sure to run the installer as administrator. You can check this by modification of the path in the installer process.
Further steps to handle the problem:
Uninstall your actual anaconda version.
Delete old Data found in:
C:\Users\YourUsername\AppData\Roaming
C:\Users\YourUsername
(In my case it was called .anaconda and .conda folder)
Restart PC
Install Anaconda as admin
The followng command solved my issue.
pip install --upgrade pywin32==228
On windows 10, I faced the same error - only Anaconda Prompt was showing in the startup menu. What I did is i re-installed Anaconda and selected install for all users of the pc (in my initial installation I have installed only for current user).
What finally worked for me was:
Uninstalling Anaconda
Deleting all files that has "conda" in them - most of them should be
located in: C:\Users\Admin
Delete especially the "condarc" file.
Reboot
Installed 32-bit installer (even though my system is 64-bit) and reboot
Finally worked. I have not yet re-tried with 64-bit installer, since I have a time critical project, but will do when again I have spare time.
P.S. what broke Anaconda for me was a blue screen I got while updating Anaconda. I guess it did not clear all old files and this broke the new installs.
I too faced a similar issue when I was not able to find the Anaconda Navigator Desktop app in the start menu. But do not worry , Go to start Menu and Type Anaconda Navigator. Now within the apps menu you will find anaconda navigator with its icon. Click on that. After clicking you will find a command prompt dialog opened and a .exe file runs on your machine. Wait till it completes.
The Anaconda Navigator app opens on your machine.

Categories

Resources