I was trying to add conda and python to the environment variable using SETX Command from CMD but it was failing. I tried setting it using PowerShell and it worked. The path was added successfully but I still can't open Jupyter Notebook from my cmd.
I have added conda and python path to the environment variable, but jupyter notebook is still not getting opened from cmd
991 Views Asked by Qasim Bin Mehmood At
1
There are 1 best solutions below
Related Questions in CMD
- Set req query output to a variable
- 'No such file or directory' installing RTC-Tools through pip
- Merge all *csv and remove duplicate headers using command prompt except top row
- Trying to launch batch file from powershell, and immediately closes
- How to export CMD output to a text file in C# after all the text printing on the CMD window is done?
- 'pip install mariadb' states that it cannot find include file 'mysql.h' on my Windows 10 dekstop
- Python Console commands
- How use subprocess.run with cmd external program in phython
- How do I restart a batch file in PowerShell?
- execute cmd commands as admin with java code
- PostgreSQL 16 database will not run as service, must have a CMD open for it to work
- How can I unload Visual Studio projects via batch file/developer command prompt?
- Connect to a specific country using Psiphon vpn from Command line
- How do I run multiple instances of my Powershell function in parallel?
- cmd command through powershell fails with error "The string is missing the terminator: '."
Related Questions in ANACONDA
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Can't install packages in python conda environment
- Error after command biogeme = biogeme.BIOGEME (database, logprob)
- Jupyter notebook: " No module named 'google.colab'", after having updated Anaconda
- How to transfer all conda environments to new computer
- Auto-activation of the conda environment in the terminal (ps, cmd, bash) in VS Code on Windows 11 does not work. How to solve this problem?
- How to use Anaconda?
- CUDA driver initialization failed, you might not have a CUDA gpu
- Seem to have broken Spyder via Anaconda update (?)
- I don't know why I got the error: invalid literal for int() with base 10: ''
- Chosen path already exist: Reinstalling anaconda navigator on macOS
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory when running command to train yolov5 on custom data
- python anaconda conda-pack - environment doesn't exist
- Anaconda runs when I right-click the arrow button instead of showing the menu
- Resolve Miniconda Permissions in Ubuntu?
Related Questions in ENVIRONMENT-VARIABLES
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Windows environment variables at appsettings.json
- API key 401 error in .env.development file
- Vite TypeError: Cannot read properties of undefined (reading 'VITE_YOUTUBE_API_KEY')
- Set environment variable during push for GitHub Actions
- Is there a way to read .csproj PropertyGroup variable in c#
- My environment variables are not recognized in Azure - ASP.NET Core MVC
- Is it best to declare global variables in a header file or environment file in a C project
- NextJS public environment variables are not recognized in my elastic beanstalk
- Shell script for copying environment variables into config.json?
- Locally testing OS environmental variables in Ballerina
- Is using NEXT_PUBLIC for my secret key is a dangerous way to use environment variables when I deploy on vercel?
- can't add another folder path in environment variables
- How to use ProxyAgent with http_proxy and no_proxy environment variables
- New values not being loaded for .env for SvelteKit app
Related Questions in SETX
- HeIp with pip and setx
- How to add MySQL Server bin path to System Path Variables using Python
- take combo box choice and use choice as SETX
- setx in Windows 10 removes backslashes
- How to show value created using setx in current cmd window?
- Add new directory in PATH user variable with Setx don't work
- SETX not setting system variable when using /M
- I have added conda and python path to the environment variable, but jupyter notebook is still not getting opened from cmd
- How to append values to the PATH environment variable in NodeJS?
- Setx value accepted, but not really changed
- View.setX prevents adjustPan from working
- Why use setX and setY?
- Jupyter Notebook throwing Setx Error
- android , moving view in linearlayout
- Is there a way to set a Windows environment variable in the current environment?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Adding Python to the environment path is bad practice, see Anaconda FAQ. If you haven't installed Anaconda with it's default settings, you first need to:
Initialize your shells
After this you should have
../Anaconda3/condabinonly in your path (more information viaconda init --help).But before you can run Jupyter, you also need to activate Anaconda:
The activation will add the following folders of the conda base environment to your PATH:
The python.exe resides in Anaconda3, jupyter.exe in Anaconda3\Scripts, so it's not enough to just add the first folder to your Path. And it's especially important to have the libraries on your Path when you want to run C-based packages like numpy.
But the very point behind the
conda activatemechanism is that it allows you to configure and run different environments with different versions of python and 3rd party packages that would otherwise conflict, see Managing environmnts.On top of that you can even install Python from python.org next to your Anaconda distribution, since conda will make sure that they won't interfere.