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

mybinder.org badges for example Jupyter notebooks #22

Open
slayoo opened this issue Jul 31, 2019 · 5 comments
Open

mybinder.org badges for example Jupyter notebooks #22

slayoo opened this issue Jul 31, 2019 · 5 comments

Comments

@slayoo
Copy link
Contributor

slayoo commented Jul 31, 2019

see https://mybinder.org/

@slayoo slayoo changed the title binder.org badges for example Jupyter notebooks mybinder.org badges for example Jupyter notebooks Jul 31, 2019
@tvatter
Copy link
Contributor

tvatter commented Aug 30, 2019

It seems pretty cool and easy to use, but I tried it and couldn't make it work :/

Essentially, it seems to be able to clone everything that's needed and build the package, but then when accessing a notebook and trying to run something, I get ImportError: No module named pyvinecopulib

Any idea what could be wrong?

@slayoo
Copy link
Contributor Author

slayoo commented Sep 1, 2019

PYTHONPATH?

@slayoo
Copy link
Contributor Author

slayoo commented Sep 1, 2019

image
Above helped in another project

@tvatter
Copy link
Contributor

tvatter commented Sep 1, 2019

Sorry, I'm a bit slow, could you explain a little? Where should this code snippet be used? And what does it have to do with pyvinecopulib not being available?

@slayoo
Copy link
Contributor Author

slayoo commented Sep 10, 2019

I guess I was too fast, but I'm not sure if indeed mybinder builds anything. Going to:

https://mybinder.org/v2/gh/vinecopulib/pyvinecopulib.git/master?filepath=examples%2Fbivariate_copulas.ipynb

and then trying to look around for any build results with:

import glob
files = [f for f in glob.glob("../**", recursive=True)]
for f in files:
    print(f)

does not reveal any build results.

When pyvinecopulib gets into pypi repository, we could simply rely on it being obtained through requirements.txt file (which is taken into account by mybinder), otherwise some more trickery seems to be needed...

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