(May-17-2020, 04:24 PM)buunaanaa Wrote: does the code above I ran in CMD or I put in as python code in main.ipynb ?All in cmd to the start of jupyterlab.
I want to double-check first. So I don't run into the same mistake leads to uninstall the anaconda and re-install it.
The point of virtual environment is that you can mess up,and it dos not matter at all.
Then there in no re-install of Anaconda,just delete the environment folder and start over again.
So here is the start in
cmd
,mess up in this case just delete pink_env1
folder and start over.You start from Script folder where
conda
is.Microsoft Windows [Version 10.0.18362.836] (c) 2019 Microsoft Corporation. Med enerett. G:\>cd Anaconda3 G:\Anaconda3>cd Scripts # Make G:\Anaconda3\Scripts>conda create --name pink_env1 Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: G:\Anaconda3\envs\pink_env1 Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate pink_env1 # # To deactivate an active environment, use # # $ conda deactivate # Activate see (pink_env1) G:\Anaconda3\Scripts>activate pink_env1 # Cd to folder (pink_env1) G:\Anaconda3\Scripts>cd .. (pink_env1) G:\Anaconda3>cd envs (pink_env1) G:\Anaconda3\envs>cd pink_env1 # Now the rest as i posted (pink_env1) G:\Anaconda3\envs\pink_env1>