https://github.com/lewagon/intro-to-data-science-env
Setup environment for Introduction to Data Science challenges
https://github.com/lewagon/intro-to-data-science-env
Last synced: over 1 year ago
JSON representation
Setup environment for Introduction to Data Science challenges
- Host: GitHub
- URL: https://github.com/lewagon/intro-to-data-science-env
- Owner: lewagon
- License: mit
- Created: 2020-09-28T12:43:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T13:31:36.000Z (over 2 years ago)
- Last Synced: 2025-01-11T06:45:52.123Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
this repo is used even though the [challenge repo](https://github.com/lewagon/intro-to-data-science-challenges/pull/8) hosts the requirements intepreted by mybinder to be self contained
setup environment for the [Introduction to Data Science](https://github.com/lewagon/intro-to-data-science-challenges) challenges
the challenges are served through [mybinder](https://www.notion.so/lewagon/B2U-Intro-to-Data-Science-f88a9af1afff44109bfd3)
## update package version
update the contents of `requirements_raw.txt`, then process `requirements.txt` from a new env:
``` bash
pyenv install 3.7.12
pyenv virtualenv-delete binder
pyenv virtualenv 3.7.12 binder
pyenv local binder
pip install -U pip
export REQ_URL=https://raw.githubusercontent.com/lewagon/intro-to-data-science-env/master/requirements_raw.txt
export PACKAGES=$(curl -s ${REQ_URL} | tr "\\n" " ")
pip install $(echo ${PACKAGES})
pip freeze | grep $(echo ${$(echo ${PACKAGES})/#/-e }) > requirements.txt
```
## info
`build.log` contains the mybinder image build and container start logs