Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python environment to run "How To Guides" #76

Open
RMeli opened this issue Feb 28, 2022 · 3 comments
Open

Python environment to run "How To Guides" #76

RMeli opened this issue Feb 28, 2022 · 3 comments

Comments

@RMeli
Copy link
Contributor

RMeli commented Feb 28, 2022

In the how-to-guides sometimes dependencies are assumed, sometimes they are installed with

!pip install

I suggest to uniform this by providing a conda and/or requirements.txt file/s so that a full environment can be created.

@vfdev-5
Copy link
Member

vfdev-5 commented Feb 28, 2022

@RMeli thanks for the suggestion! If we opt to provide a requirements.txt where we can store it such that it would be accessible, especially if a notebook is open with colab ?
We can think of adding a step to download it (for example with wget) from somewhere and then install it. However, wget solution may not always work on Win OS...
Maybe, !pip install dep1 dep2 could be more simple and cross-platform. What do you think ?

@RMeli
Copy link
Contributor Author

RMeli commented Feb 28, 2022

OIC, is the assumption that most of those notebooks run on Google Colab? That explains why some packages are not installed, I believe they are readily available.

Maybe, !pip install dep1 dep2 could be more simple and cross-platform. What do you think ?

Yes, if everything is pip-installable then it would probably be the easiest/safest solution.

@vfdev-5
Copy link
Member

vfdev-5 commented Feb 28, 2022

is the assumption that most of those notebooks run on Google Colab?

Yeah, sort of implicit assumption as very easy to run notebooks on Colab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants