https://github.com/mfkimbell/python-virtual-env-notes
https://github.com/mfkimbell/python-virtual-env-notes
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mfkimbell/python-virtual-env-notes
- Owner: mfkimbell
- Created: 2024-12-10T04:02:08.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T04:04:12.000Z (7 months ago)
- Last Synced: 2025-02-09T11:13:27.780Z (5 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-virtual-env-notes
## Normal setup
`python3 -m venv rdkit-env`
`source rdkit-env/bin/activate`
`pip install -r requirements.txt`
## Conda
Conda is annoying, it defaults your terminal to being in a virtual environment, here are some commands I found usefulinformation about the current enviornemnts
`conda info --envs `remove one of those environments
`conda env remove -n rdkit-env`and create the env back
`conda env create -f environment.yml`or you can add manually
`conda install `and then update the yml file
`conda env export > environment.yml`this is how you activate an environment
`conda activate rdkit-env`