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

Development installation with virtual environment #94

Open
jofmi opened this issue Mar 18, 2021 · 2 comments · May be fixed by #95
Open

Development installation with virtual environment #94

jofmi opened this issue Mar 18, 2021 · 2 comments · May be fixed by #95

Comments

@jofmi
Copy link

jofmi commented Mar 18, 2021

Hi everyone,

the readme only shows how to do the development installation in conda.

here is how i managed with virtualenvwrapper in linux, maybe it's worth adding to the readme!

  1. Installing npm with yarn:
sudo apt install npm
npm install yarn
  1. Creating a virtual environment
mkvirtualenv widget_dev
workon widget_dev
  1. Installing the widget and adding the virtual environment as an IPython Kernel:
pip install -e ".[test, examples]"
ipython kernel install --name widget_dev --user

In jupyter lab, one can then select the widget_dev kernel on the top right
In jupyter notebook, under the menu section Kernel

@ianhi
Copy link
Contributor

ianhi commented Mar 18, 2021

Hi @JoelForamitti good point thanks!

Would you like to make a PR with changes that you feel would have helped you?

@jofmi jofmi linked a pull request Mar 18, 2021 that will close this issue
@jofmi
Copy link
Author

jofmi commented Mar 18, 2021

@ianhi ok, i made a PR here: #95

@ianhi ianhi linked a pull request Mar 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants