Comments (3)
If you run jupyter nbextension disable cite2c/main
, it won't be loaded. It will still be left on your system - we haven't really thought about a mechanism to uninstall nbextensions - but if it's not loaded, it should have no effect.
from cite2c.
This is important, now jupyter-lab has a context menu showing plugins and others you might want to discover similar to VSCode, but with the limitation that there's not way to easily uninstall plugins through a button similar to VSCode where you can install and uninstall plugins at will freely without any hassle.
Maybe this should be put for discussion with jupyter-lab community and maintainers?
from cite2c.
For instance in my case I had previously installed cite2c in a conda environment along with jupyter-lab.
Then completely removed that conda env and re-installed everything fresh, jupyter-lab, etc..., but without cite2c.
Now whenever I start jupyter-lab I keep getting the following errors, seems like some config files from cite2c still left on my system.
Any idea how to remove those?
[W 2022-12-24 13:16:51.725 ServerApp] cite2c.handlers | error adding extension (enabled: True): The module 'cite2c.handlers' could not be found (No module named 'cite2c'). Are you sure the extension is installed?
Traceback (most recent call last):
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 175, in _validate_name
self._module, self._metadata = get_metadata(name)
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/jupyter_server/extension/utils.py", line 55, in get_metadata
module = importlib.import_module(package_name)
File "/home/user/anaconda/envs/myenv/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cite2c'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 320, in add_extension
extpkg = ExtensionPackage(name=extension_name, enabled=enabled)
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 166, in __init__
super().__init__(*args, **kwargs)
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/traitlets/traitlets.py", line 1357, in __init__
value = self._traits[key]._cross_validate(self, getattr(self, key))
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/traitlets/traitlets.py", line 743, in _cross_validate
value = obj._trait_validators[self.name](obj, proposal)
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/traitlets/traitlets.py", line 1229, in __call__
return self.func(*args, **kwargs)
File "/home/user/anaconda/envs/myenv/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 177, in _validate_name
raise ExtensionModuleNotFound(
jupyter_server.extension.utils.ExtensionModuleNotFound: The module 'cite2c.handlers' could not be found (No module named 'cite2c'). Are you sure the extension is installed?
from cite2c.
Related Issues (20)
- I can't execute the cite2c/main. HOT 15
- New icons don't appear in Jupyter notebook HOT 8
- nothing happens when clicking insert citation HOT 5
- jupyterhub: hub-wide installation and/or hub compatibility HOT 5
- cite2c in jupyterlab HOT 13
- Can't authenticate? HOT 5
- Why is it not in jupyter_contrib_nbextensions?
- "sticky loading"? citeproc-js fails to retrieve each citation HOT 3
- Can we change the citation style ? HOT 1
- No Bibliography in PDF HOT 2
- can't install on mac HOT 3
- Zotero gives no matches for any keyword HOT 1
- Is there a posibility to use this extension without zotero? HOT 1
- 500 : Internal Server Error
- Show rendered output without extension installed HOT 1
- Share citations
- references dissapear when i download .ipynb as html on jupyter notebook
- DOWNGRADE NECESSARY - With Jupyter Notebook > 6.2.0: reference not visible in the notebook - "template_paths" error -
- Reference type software integrated as a book in the metadata
- When using jupyter notebook Version: 6.5.4, it cannot be displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cite2c.