"./envs/test/bin/pip list format=freeze > requirements.txt\n",
"```\n",
"\n",
"However, this is quite different from conda. You need to have the correct version of python available otherwise you can not restore the environment."
"However, this is quite different from conda. You need to have the **correct version of python** available otherwise you can not restore the environment."
**Note: Versions and packages are listed. As well as the path where it was installed**
With that file you will be able to rebuild this environment at anytime.
If you want to use `pip` later to restore your environment, you can use
```bash
./envs/test/bin/pip list format=freeze > requirements.txt
```
However, this is quite different from conda. You need to have the correct version of python available otherwise you can not restore the environment.
However, this is quite different from conda. You need to have the **correct version of python** available otherwise you can not restore the environment.
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you.