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

Help setting up a development environment #177

Closed
jacobtomlinson opened this issue Mar 3, 2021 · 1 comment · Fixed by #178
Closed

Help setting up a development environment #177

jacobtomlinson opened this issue Mar 3, 2021 · 1 comment · Fixed by #178

Comments

@jacobtomlinson
Copy link
Member

jacobtomlinson commented Mar 3, 2021

I'm struggling to set up my development environment since the move to Jupyter Lab 3. I followed the guide to set up my development environment as per the README instructions but I am struggling to get an editable install.

MCRE:

  • cd /tmp
  • git clone [email protected]:dask/dask-labextension.git
  • cd dask-labextension
  • conda create -n daskjupyterdebug -c conda-forge python=3.8 ipython jupyterlab -y
  • conda activate daskjupyterdebug
  • jlpm
  • jlpm build
  • jupyter labextension develop . --overwrite

This last step fails with ModuleNotFoundError: There is not a labextensions at ..

If I launch Jupyter Lab the extension appears to be installed, but if I make modifications and run jlpm build I don't see them reflected after relaunching Jupyter Lab.

Also if I list extensions it appears I have the latest release installed instead.

$ jupyter labextension list                 
JupyterLab v3.0.9
/Users/jtomlinson/miniconda3/envs/daskjupyterdebug/share/jupyter/labextensions
        dask-labextension v5.0.1 enabled OK (python, dask_labextension)

What am I doing wrong?

@ian-r-rose
Copy link
Collaborator

Thanks for flagging this @jacobtomlinson, I can reproduce your issue. You haven't done anything wrong -- instead it looks like I missed a step to get editable installs working in #162 (thought non-editable installs should still work locally). I'll whip up a fix

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