python - creating and activating environment (without using conda)

 

Let's say you're trying to create an environment and not using conda - then you can use the following to create your new python environment.

python -m venv llama_env

To activate that, you can try go into the folder with your new environment, then run activate.bat. For example, i will change directory to \Python\Python312\llama_env\Scripts - that's where my environments is.  Then just run 

.\activate.bat


Comments

Popular posts from this blog

gemini cli getting file not defined error

mongosh install properly

llama cpp running it in google colab