Escape from Python's virtual environment ~ A story about being trapped in a virtual environment I created ~

Front frame

When I opened my Mac to develop it for the first time in a long time, I couldn't get out for a while after I entered the virtual environment I created a long time ago. When I looked it up, it seems that the command was different.

environment

How it was solved

When entering

(base)$

I want to get out of the virtual environment

(base)$ deactivate
bash: deactivate: command not found
(base)$ source deactivate
bash: deactiate: No such file or directory

It seems to be useless.

When I looked it up, there was a person with similar symptoms.

(base)$ conda deactivate
$

Escape completed

Rear frame

I'm not used to the virtual environment yet ... I have no choice but to use it.

Recommended Posts

Escape from Python's virtual environment ~ A story about being trapped in a virtual environment I created ~
I started Node.js in a virtual environment
A refreshing story about Python's Slice
A sloppy story about Python's Slice
A story about using Python's reduce
From installing Ansible to building a Python environment in Vagrant's virtual environment
A story about a beginner making a VTuber notification bot from scratch in Python
[Memorandum] A story about trying OpenCV tutorial (face recognition) in a Windows environment
Creating a virtual environment in an Anaconda environment
I created a password tool in Python.
How to share a virtual environment [About requirements.txt]
Start Django in a virtual environment with Pipenv
I created a Dockerfile for Django's development environment
Think about building a Python 3 environment in a Mac environment
Work in a virtual environment with Python virtualenv.
A story about how Windows 10 users created an environment to use OpenCV3 with Python 3.5
A story about reflecting Discord activity in Slack Status
A story about a Linux beginner passing LPIC101 in a week
A story about PHP that was okay in the development environment but buggy in the production environment LEVEL 1-3 + 1
virtual environment in python
Try running python in a Django environment created with pipenv
A story about creating a UNIX / Linux compatible OS from scratch
A story about how to specify a relative path in python.
[Django3] Display a web page in Django3 + WSL + Python virtual environment
A story about competing with a friend in Othello AI Preparation
A story that stumbled when using pip in a proxy environment
Reflect the virtual environment created with Miniconda in Jupyter notebook
A note on how to load a virtual environment in PyCharm
How to develop in a virtual environment of Python [Memo]
I want to use a virtual environment with jupyter notebook!
I created a class in Python and tried duck typing
I just built a virtual environment with AWS lambda layer
A story about trying to implement a private variable in Python.
A story about a tragedy happening by exchanging commands in chat
A story about a beginner participating in a project by Django from team building to product release in 6 weeks
A story about everything from data collection to AI development and Web application release in Python (3. AI development)
What to do if pip --user returns an error in a virtual environment created with pyenv