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

Trouble launching example notebooks #3

Open
villares opened this issue Oct 8, 2020 · 3 comments
Open

Trouble launching example notebooks #3

villares opened this issue Oct 8, 2020 · 3 comments

Comments

@villares
Copy link

villares commented Oct 8, 2020

Hi, thanks for creating this resource! I'm very new to cadquery and not very used to Jupyter Notebooks either, so I'm probably doing several things wrong, sorry to take your time.

I'm using Firefox (and tested Chromium too) on Xubuntu 20.04, and I have tried this:
1 - I clicked at the binder launch thing Binder and waited for environment to be setup.
2 - Clicked at the 'examples folder.
3 - Clicked at some example (tried several) and tried the run button, got this:
cq-issue

4 - I noticed a Python 2 kernel so I tried to change to to Python 3 (and then got a no cadquerymodule found error)

Please advise!

@EdoFro
Copy link

EdoFro commented Nov 14, 2020

I had the same problem. any advise?

@adam-james-v
Copy link
Owner

Hello there,

Thank you for posting this issue :)

I'll state up front that it has been some time (several years) since I have used this project. I decided to move on from this due to similar issues that you are experiencing, as well as being inexperienced as a developer at the time.

Your probable best bet is to look at more actively maintained (and more up-to-date) work related to this:

It's also the case that both jupyter and cadquery have changed and improved since my time working on this, so this notebook may be too out of date to really get set up properly.

As some consolation, I'll try to point you in some useful direction (sorry I can't be of more help)

  • The widget library is a specific library called 'ipywidgets', and I remember needing to pin a specific version to work with py2
    • I think I had to pin the version to 7.0.1, or perhaps 6.9.1. Start there perhaps?
  • here is the ipywidgets docs as a starting point: Jupyter Widgets

As well, it may be worth re-doing the notebook setup yourself making sure to use the most up-to-date versions of everything.

Good luck and I hope you can sort things out :)

@EdoFro
Copy link

EdoFro commented Nov 18, 2020

thank you!

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

3 participants