Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

why doesn't exist activate file in bin folder

I made venv using conda. it’s my first time

conda create -n filename python=3.7

but there is not activate file in bin folder(in vscode interpreter, venv exists)

help me..!!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

in zsh
enter image description here

in Python
enter image description here

>Solution :

Since you created the environment with conda named filename, you need conda to activate it:

conda activate filename

# to deactivate
conda deactivate

If you run

conda env list

You would see the path to your environments. e.g.

# output
base * C:\Users\<UserName>\AppData\Local\Continuum\anaconda3
envmnt C:\Users\<UserName>\AppData\Local\Continuum\anaconda3\envs\filename

If you really want to directly use source activate You can find those scripts there.

Note: the * in front of environment name indicates which environment is currently active.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading