forked from martinventer/virtual_creatures
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Useful_things.txt
24 lines (12 loc) · 862 Bytes
/
Useful_things.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Sharing an environment
You may want to share your environment with someone else---for example, so they can re-create a test that you have done. To allow them to quickly reproduce your environment, with all of its packages and versions, give them a copy of your environment.yml file.
Exporting the environment file
Note
If you already have an environment.yml file in your current directory, it will be overwritten during this task.
Activate the environment to export:
conda activate myenv
Note: Replace myenv with the name of the environment.
Export your active environment to a new file:
conda env export > environment.yml
Note: This file handles both the environment's pip packages and conda packages.
Email or copy the exported environment.yml file to the other person.