[GO] What to do when Python starts up in Anaconda does not come out unexpectedly

I have Python 3.9.0 installed on Mac Os, and when I check it with pyenv, it is displayed as 3.9.0.

$ python -V

When you enter

Python 3.8.5

Has been displayed. I should have installed and used Django at the end of the phrase, but for some reason it didn't start up.

I was in trouble

$ which python

When I confirmed it with, it started up with Python of Anaconda.

I wanted to match the versions of Python and Django to participate in the development, but I didn't want to uninstall it because I wanted to use Jupyter Lab in my production.

Commands that are useful in such cases but do not appear much even if you look them up

$ conda deactivate

is.

You can quit Anaconda until you drop the terminal, and if you restart the terminal, Anaconda will be running again.

Also, I don't know the cause anyway, but I think it's a good command when you don't want to run it in the Anaconda environment now.

Recommended Posts

What to do when Python starts up in Anaconda does not come out unexpectedly
NameError: global name'dot_parser' is not defined and what to do when it comes up in python
What to do when the graph does not appear in jupyter (ipython) notebook
What to do when python3 type venv does not work well on Raspberry Pi
What to do if Python does not switch from the System version in pyenv
What to do when ModuleNotFoundError: No module named'XXX' occurs in Python
What to do when the value type is ambiguous in Python?
[VSCode] unable to import'google.cloud' What to do when pylint (import-error) does not recognize the Python import statement
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
Notes on what to do when matplotlib scatter () / scatter3d () does not work
What to do to get google spreadsheet in python
[Python] What to do if you get a ModuleNotFoundError when importing pandas using Jupyter Notebook in Anaconda
Example of what to do when the sample script does not work (OpenCV-Python)
What to do when a warning appears around Python integration in Neovim's CheckHealth
What to do when "TypeError: data type not understood" appears in python's numpy.zeros
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do when [Errno 2] No such file or directory appears in Python
[EC2] What to do when selenium is stuck and processing does not proceed
What I do when imitating embedded go in python
[openpyxl] What to do when IllegalCharacterError appears in pandas.DataFrame.to_excel
What to do when "cannot import name xxx" [Python]
What to do if sys / cdefs.h does not exist
I want to do something in Python when I finish
What to do when you can't bind CaboCha to Python
[Python] Type Error:'WebElement' object is not iterable What to do when an error occurs
What to do when is not in the sudoers file.This incident will be reported.
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if the progress bar is not displayed in tqdm of python
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
What to do if  Ľarguments [0] .scrollIntoView ();` fails in python selenium
What to do when Japanese is not displayed on matplotlib
What to do when "Invalid HTTP_HOST header" appears in Django
What to do if Jupyter Notebook on WSL does not start automatically in your browser
What to do when a Missing artifact occurs in a jar that is not defined in pom.xml
[Beginner] What to do when "[Errno 2] File b'test.csv' does not exist: b'test.csv" is displayed when reading pandas csv
Things to watch out for when using default arguments in Python
How to not escape Japanese when dealing with json in python
What to do if python says "fatal error:'stdio.h' file not found"
What to do with PYTHON release?
What to do if Insecure Platform Warning appears when running Python
What to do when UnicodeDecodeError occurs during read_csv in pandas (pd.read_table ())
A story about what to do when a bad interpreter: Not such file or directory appears in Anaconda3 and how to investigate the cause.
[Mac OS] What to do when Python is not installed as a framework. Is displayed when import matplotlib is performed.
How to write what to do when an application is first displayed in Qt for Python with Designer
What to do in my case when pyenv install is not possible after upgrading to macOS Big Sur
What to do when you get angry that libxml / xmlversion.h does not exist when you put lxml with pip
What to do if there is a decimal in python json .dumps
What to do if you can't use scikit grid search in Python
What to do if ipython and python start up with different versions
What to do if No Python documentation found for ... appears in pydoc
[Python] What to do when an error related to SSL authentication is returned
After all, what should I use to do type comparisons in Python?
[OSX] [pyenv] What to do when an SSL error occurs in pip
What to do when a warning message is displayed in pip list
How to do R chartr () in Python
When Anaconda Navigator (Mac) does not start
tensorflow does not enter in windows + anaconda.
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
How to find out what kind of files are stored in S3 in Python