Pyenv: activate: command not found

problem description

anaconda installed with pyenv

pyenv install anaconda3-5.2.0
pyenv local anaconda3-5.2.0

the new environment is successful, but the activation environment is not good

conda create -n test
source activate test
-pyenv: activate: command not found

but what if there is activate
under .pyenv / shims?

Jul.22,2021

because you did not specify the Python version when you created it, the correct way for conda to create a virtual environment is:

-sharp 
conda create -n [env_name] python=X.X 
-sharp 
source activate [env_name]
-sharp 
source deactivate [env_name]

778d5ca9ly1fl889dogmhj212u120q9s.jpg

778d5ca9ly1fl889dtv8ij21360qg78c.jpg

about the virtual environment, you can refer to the two notes I wrote. I hope it will be helpful to you:

  1. ide-notes-virtualenv-and-manage-repository/" rel=" nofollow noreferrer "> PyCharm IDE usage Notes (1): create a new virtual environment and change sources | Thinking Realm
  2. Python | talk about virtual environment again | Thinking Realm

Thank you!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3bdf0-58bf2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3bdf0-58bf2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?