Code Monkey home page Code Monkey logo

svelte-jupyter-widget-example's People

Contributors

danielkerrigan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

svelte-jupyter-widget-example's Issues

`pip install -e` fails when run after symlinks are created

pip install -e ".[test, examples, dev]" works the first time, but it fails if it is run again after

jupyter nbextension install --sys-prefix --symlink --overwrite --py svelte_widget
jupyter nbextension enable --sys-prefix --py svelte_widget

or

jupyter labextension develop --overwrite .

The error is

Building wheels for collected packages: svelte_widget
  Building editable for svelte_widget (pyproject.toml) ... done
  Created wheel for svelte_widget: filename=svelte_widget-0.1.0.dev0-py3-none-any.whl size=104783 sha256=3d8ad29dc0e14e42038ae03fb23bc441aaed5cc64dc2f8d52b9242c367b6e9cb
  Stored in directory: /private/var/folders/5d/t5dp0xc505l13313s5wxx9k80000gn/T/pip-ephem-wheel-cache-rho46egu/wheels/8f/77/b1/9dd34722af8eac6f8b25b6915d5cf2d7144d9fe29ae26fc5d1
Successfully built svelte_widget
Installing collected packages: svelte_widget
  Attempting uninstall: svelte_widget
    Found existing installation: svelte_widget 0.1.0.dev0
    Uninstalling svelte_widget-0.1.0.dev0:
      Successfully uninstalled svelte_widget-0.1.0.dev0
  Rolling back uninstall of svelte_widget
  Moving to /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/etc/jupyter/nbconfig/notebook.d/svelte_widget.json
   from /private/var/folders/5d/t5dp0xc505l13313s5wxx9k80000gn/T/pip-uninstall-gb_yv6d0/svelte_widget.json
  Moving to /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/lib/python3.11/site-packages/svelte_widget-0.1.0.dev0.dist-info/
   from /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/lib/python3.11/site-packages/~velte_widget-0.1.0.dev0.dist-info
  Moving to /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/lib/python3.11/site-packages/svelte_widget.pth
   from /private/var/folders/5d/t5dp0xc505l13313s5wxx9k80000gn/T/pip-uninstall-xcmehlcv/svelte_widget.pth
  Moving to /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/share/jupyter/labextensions/svelte_widget/
   from /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/share/jupyter/labextensions/~velte_widget
  Moving to /Users/danielkerrigan/work/research/svelte_widget/svelte_widget/nbextension/
   from /Users/danielkerrigan/work/research/svelte_widget/svelte_widget/~bextension
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/share/jupyter/nbextensions/svelte_widget/extension.js'

I believe this has to do with the symbolic links that are created by those commands.

Running jupyter nbextension uninstall svelte_widget and/or rm /Users/danielkerrigan/opt/miniconda3/envs/svelte_widget/share/jupyter/labextensions/svelte_widget makes the pip install work again. Running pip uninstall also works, but if you run pip install another time, it fails again.

Possibly related:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.