I install Anaconda vs 2019.10 on my Windows 10 but I couldn't find the shortcuts to it.
I've tried searching for it using CMD but it's returns the message that Anaconda can't be found
And I can't also find jupyter notebook or spider
Reinstall Anaconda and don't change the default settings. Everything will work as expected. C:\Users\user_name\AppData\Anaconda3\condabin will be added to your PATH and you'll only need to conda activate (or run the Anaconda-Prompt shortcut) to start using Python.
Related
I installed Jupyter Notebook on Windows 10. But I got an error when launching it in Visual Studio Code as:
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
After searching online, I decided to install Anaconda first and run Jupyter from it. But launching it from Anaconda was directed to a web address. It looks like Jupyter is only a web application.
I wonder if it is possible to run the Jupyter Notebook as a desktop application on Windows.
There is a JupyterLab Desktop App, see here and here. I don't know how old of a version of Windows works for it.
Rest was built from discussion in comments:
On Jupyter with VS Code:
Jupyter itself works with VScode to run Jupyter notebooks in VScode. You wouldn't need the JupyterLab Desktop App in that case. You do need Jupyter though. See here if you are interested in using Jupyter notebooks in VSCode.
On installing packages that worked before installed Anaconda:
The easiest solution would be to reinstall them. It is possible you could add the already installed ones to your path, but if you have room it is easiest to keep your Anaconda installed stuff where it is and separate from what you had. The easiest way to sort where to install them is to let Jupyter handle it. For example, if you want to work with Pandas in a notebook, in that notebook run %conda install -c anaconda pandas, based on here and the magic install command. For the packages that conda cannot install, and only for those, use %pip install <package_name>.
You can delete the install commands out of the notebook after if you want. You may just want to comment them out so you remember. For the short term you are fine re-running the commands because if the package is already installed by conda or pip it won't get reinstalled; however, if the package gets a new release and you aren't specifying versions, you'll get the latest when that install command next runs and if there is an error or incompatibility, then you'll have caused yourself an issue you could have avoided.
I uninstalled and re-installed Anaconda on my Windows 64-bit while I had an Anaconda environment activated in my cmd. Now, cmd won't open anymore, unless I launch it as administrator (restarting computer and removing Anaconda as Path variable doesn't help). My guess is that my cmd is "blocked" now, as I didn't do "conda deactivate" before uninstalling Anaconda (can't say with certainty though that this was actually the reason, but it coincides with cmd not opening anymore).
Does anyone have an idea how to fix this?
The error message from the screenshot appeared while uninstalling Anaconda, and also when trying to re-install it.
Whenever I try to install Anaconda, Anaconda Navigator, Anaconda Prompt then all other applications are not included in the Anaconda3 folder. Is there any reason for this? I'm unable to find a solution for this.
I had Anaconda on Windows 10 installed in C:\ProgramData\Anaconda3 before using PyCharm. Now PyCharm displays: "Anaconda installation is not found" when I try using a conda env.
I also added Anaconda to PATH.
Is there a way to show PyCharm where Anaconda is installed?
There is an open bug, currently PyCharm and IDEA both seem to detect Conda installation only from %HOMEPATH%/anaconda. https://youtrack.jetbrains.com/issue/PY-26923
The easiest workaround is to create a symlink to $HOME/.anaconda
mklink /D %HOMEDRIVE%%HOMEPATH%\anaconda C:\ProgramData\Anaconda3
Note that C:\ProgramData\Anaconda3 should be replaced with the path to your Anconda installation. If you selected to installed it for "Just Me" instead of "All Users", your default location will be
C:\Users\<your_username>\AppData\Local\Continuum\anaconda3
UPDATE: This issue is now fixed in IDEA and PyCharm since version 2018.1. You can specify a custom path under Python Interpreter or SDK settings in Conda Environment section.
In #Ahti Kitsik's answer above, the following line did not work, and resulted in a an error:
mklink /D %HOMEPATH%\anaconda C:\ProgramData\Anaconda3
Because of a different install location, the following worked for me:
mklink /D "%HOMEPATH%\anaconda" "C:\Dev\Anaconda3"
"C:\Dev\Anaconda3" should be the anaconda installation folder on your PC.
Also, be sure to run the cmd with administrator privilege, otherwise you will get a permission error when trying to create the symlink.
You can't find anaconda python in your console at first.Click Configure Interpreters in blue.
Click the little gear under reset in blue(right + up corner), and chose 'add local'.
point to your python in anaconda
Here you are
I fixed this by:
Uninstalling the Anaconda that was installed with Visual Studio 2017. I did this by unticking the option within the VS2017 installer.
Installing Anaconda after downloading the official installer.
Rebooting my PC.
My theory is that VS2017 installs Anaconda in a non-default location, and PyCharm cannot find it. The Anaconda installer states that VS2017 should still work fine with Python, even after this change.
I faced the same issue on Ubuntu 16.04 where I had Anaconda installed under ~/.local/opt/anaconda3.
Creating a symlink under ~/anaconda3 solved the issue for me.
mklink /D %HOMEDRIVE%%HOMEPATH%\anaconda "C:\Program Files\Anaconda3"
I had a similar problem running linux (Ubuntu) because I installed anaconda to a custom location. Creating a symbolic link to anaconda in home directory solved the problem.
You can run the following command to do that:
ln -s /_my_custom_path_to_/anaconda3/ /home/_my_user_name_/anaconda3
* keep in mind _my_custom_path_to_ and _my_user_name_/ are your custom path to anaconda and user name correspondingly
Recently I upgraded from Windows 8.1 to Windows 10. Although Windows said it didn't change anything to my files and folders, this was not the case. Only one of the shortcuts in my Anaconda folder in the start menu remained. This was the Anaconda Prompt so I thought I just run the following commands to fix my links:
conda update conda -f
conda update anaconda -f
Although this returned a few links, it did not restore everything which means I was stuck with a dysfunctional installation of Anaconda.
The following worked for me (albeit on Windows 7):
Open a command prompt as administrator
Execute "C:\Anaconda3\pythonw.exe" "C:\Anaconda3\Lib\_nsis.py" mkmenus
I use Miniconda. When I updated with
conda update conda
there were these following lines along with the list of packages to be updated:
The following packages will be REMOVED:
console_shorcut-0.1.1-3
powershell_shortcut-0.0.1-2
I saw those lines after the update and the shortcut to the command window was gone. So I restored the Anaconda Prompt command window shortcut with
conda install console_shortcut
mkmenus did not work for me but the following worked on Windows 10 32-bit, Miniconda3.
Open command prompt (admin privileges not required).
Navigate to your Miniconda\Scripts directory. Replace kk with your username.
cd "C:\Users\kk\Miniconda3\Scripts"
Run Activate.bat
activate.bat
Install console_shortcut.
conda install -c anaconda console_shortcut
When using Miniconda installed for the local user:
C:\Users\<username>\AppData\Local\Continuum\Miniconda3\pythonw.exe C:\Users\<username>\AppData\Local\Continuum\Miniconda3\Lib\_nsis.py mkmenus
This was also on Windows 7.
To solve this I did the following:
Remove Anaconda with "add or remove program" link
Reinstall Anaconda with the latest installer link
After this everything is restored and since the uninstall program does not remove user files your environments and settings are also still there. If for some reason you stored projects in the Anaconda folder, this folder will be removed so watch out for that ;)