Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # Installing/Packaging with requirements.txt
  2.  
  3. ## create an environment from requirements.txt
  4.  
  5. ```bash
  6. conda create --name <env_name> --file requirements.txt
  7. ```
  8.  
  9. ## make a requirements.txt
  10.  
  11. ```bash
  12. conda list -e > requirements.txt
  13. ```
  14.  
  15. ## create an environment from environment.yml
  16.  
  17. ```bash
  18. conda env create -f environment.yml
  19. ```
  20.  
  21. ## make an environment.yml
  22.  
  23. ```bash
  24. conda env export > environment.yml
  25. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement