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

Missing import #140

Closed
1 task
jorgedch opened this issue Jul 30, 2022 · 2 comments · Fixed by #139
Closed
1 task

Missing import #140

jorgedch opened this issue Jul 30, 2022 · 2 comments · Fixed by #139

Comments

@jorgedch
Copy link

Software paper

openjournals/joss-reviews#4517

  • Functionality:
  1. The library ipywidgets is needed in requirements.txt to run the code in Generating embeddings offline
@stsievert
Copy link
Owner

Do you have a more detailed traceback? I'm not seeing any mention of ipywidgets in the repo (both in #139 and on the master branch):

(review-comments) $ pwd
/Users/scott/Developer/stsievert/salmon
(review-comments) $ grep -Hnri "ipywidgets" .
(review-comments) $ git checkout master
(master) $ grep -Hnri "ipywidgets" .
(master) $

@jorgedch
Copy link
Author

jorgedch commented Aug 2, 2022

Indeed, it's not going to show in the repo as it is a missing requirement in the packages indicated in requirements.txt. I got an error when running the example code in Generating embeddings offline and it was solved after I added ipywidgets in requirements.txt. So the problem is fixed, it's only matter of adding the package to the list.

Note: I also recommend you to sort the packages in requirements.txt in alphabetical order, it saves time as the project evolves.

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

Successfully merging a pull request may close this issue.

2 participants