I have deleted anaconda from my computer. Now cmd doesn't open. I tried to create shortcuts for cmd in order to open it. But it still doesn't open.
Related
I am having trouble finding the shortcut call to open RStudio from the Anaconda Prompt. Does anyone know what to type?
For example, to open up VSCode you type into the anaconda prompt "code," and the VSCode ide is opened up rather quickly. Is there a similar call for RStudio?
Under Windows, JupyterLab does not allow navigation in the UI to any drive other than the drive that JupyterLab was started in. By default this is the C: drive.
How can you access notebooks on another drive?
Anaconda does not allow switching between drives but you can start Jupyter Lab or a Jupyter notebook on another drive, for example the D: drive.
First shutdown any running JupyterLab, then
Open a terminal window from within Anaconda Navigator. To do this, select environments in the Navigator window and then click the green "play" arrow next to base(root) -- or which ever environment you are using.
then in the terminal window type
jupyter notebook --generate-config
this will generate a file in your user directory under .jupyter\jupyter_notebook_config.py
edit the file.
Set the variable c.NotebookApp.notebook_dir to whatever directory you want to start in, for example
c.NotebookApp.notebook_dir = "D:\mydir"
NOTE do not put a trailing backslash. Also if the directory pathname contains spaces ensure you are using double quotes.
save the file and test that all is working. In the command line type
jupyter lab
this should start JupyterLab correctly, check for any errors in the terminal window. JupyterLab should start in the directory you set in the file.
If all is well, shutdown JupyterLab and run it from the Anaconda Navigator window as usual. All should work now.
As mentioned by GreyMS in this github issue, you can use an mklink:
mklink /D D_Drive D:\sources
I just installed Anaconda (with GUI) for data science projects. I'm a Mac user and when I launch Jupiter notebook from Anaconda Navigator it runs macOS default terminal. Is there a way to set Anaconda for using iTerm2 as terminal?
If you open iterm2 and go to the toolbar(on the top of the screen), try iTerm2-make iterm2 default term. See if this changes the behavior.
If not and you prefer using iTerm2, you can always open up an iTerm2 window and simply type
jupyter notebook
And you should have a jupyter notebook open in your browser, with the process running in the iTerm2 window.
Based on the default installation of anaconda (and iterm2).
Make sure, iTerm2 is an default term - this probably wont help, but... Do that :D
Open iTerm, navigate in menu on iTerm2 > Make iTerm2 default term
When you open the jupyter for example from anaconda, default terminal launches with the script. The name of this script file should be located at the top, by default it is: /opt/anaconda3/bin/jupyter_mac.command
Navigate to /opt/anaconda3/bin/ folder, or any other one where the command file from previous step is.
from terminal: open /opt/anaconda3/bin/ which will open finder in this destination)
In this folder, locate the jupyter_mac.command file
CMD+I on this file (or right-click and select Get Info)
This will open Information window for this file. Under the accordion, there is a selection of "Open with".
Instead of terminal, select iTerm2
Ideally, click on Change All... button so all the .command files will launch in iTerm
Very inexperienced user here so forgive my ignorance.
Having a problem after launching Anaconda Prompt. I just get a flashing cursor. The top of the window reads 'Anaconda Prompt - C:\ProgramData\Anaconda3\Scripts\Activate.bat C:\ProgramData\Anaconda3'
I have tried reinstalling but it doesn't solve this issue - any ideas?
Thanks.
I have the same issue whenever i open the anaconda prompt it closes automatically so i've had a solution.
-Open the Start Search, type in “env”, and choose “Edit the system environment variables”
-Click the “Environment Variables…” button.
-add these paths under the path variables:
C:..\Anaconda3 [Anaconda path]
C:..\Anaconda3\Scripts
press "OK"
now in the Start search type cmd and write your conda commandes. cmd now is able to recognize your conda commands.I am using windows 10 .
I hoe this solution suits you well.
I just installed Anaconda for Python 2.7 on my laptop running 64 bit windows 8.
Once I finish installing Anaconda I go to open the Anaconda prompt and then I run conda update --all. This runs seemingly fine. When it's done running I close the prompt by hitting the close button in the upper right corner.
The issue comes in when I then go to open a new Anaconda prompt. I go to my start menu and open a new prompt. However, instead of the prompt that opened immediately after installing Anaconda I get a command window with these three lines:
>was unexpected at this time.
PATH > #IF NOT ""=="" #chcp > NUL
PATH >
An error seems to happen when I try to open my Anaconda prompt and then my path gets changed back to my default non-Anaconda command prompt path.
Could someone provide any help with this issue?
Thanks!
Facing the same issue. I have a habit of opening Jupyter notebook through anaconda prompt which I cannot do now. Fortunately, the jupyter notebook is opening through Anaconda navigator. Not sure what will I do to use "conda" commands until this issue is solved
Same issue, except that my installation is already 2 months old, suddenly noticing this today.
Olivier.
Open the anaconda prompt and change the anaconda prompt directory to Anaconda/Scripts and then you can use the conda commands.