Comments (6)
What is the specific error? You might not have xelatex installed which is the default latex engine used.
from jupyterlab-latex.
Same error here. Pdf appears but error message also appears.
Already set 'pdflatex' manually in jupyter_notebook_config.
This is may be the problem, no line for c.LatexConfig.latex_command=
.
I added it manually and this maybe is not read by jupyter_latex.
from jupyterlab-latex.
I have done all things suggested. But still it is NOT working! Keep getting this error on asking to open the preview.
Server Extension Error
You probably do not have jupyterlab_latex installed or enabled. Please, run "pip install -U jupyterlab_latex." If that does not work, try "jupyter serverextension enable --sys-prefix jupyterlab_latex".
from jupyterlab-latex.
Did anyone manage to solve this issue?
from jupyterlab-latex.
same here. Some more information from me
I follow the instruction to run pip install -U jupyterlab_latex
which succeed.
But when I run jupyter serverextension enable --sys-prefix jupyterlab_latex
I get the following error.
Log when `jupyter extention enable --sys-prefix jupyterlab_latex`
jupyter serverextension enable --sys-prefix jupyterlab_latex
Enabling: jupyterlab_latex
- Writing config: /usr/etc/jupyter
Traceback (most recent call last):
File "/home/user/.local/bin/jupyter-serverextension", line 8, in <module>
sys.exit(main())
File "/home/user/.local/lib/python3.8/site-packages/jupyter_core/application.py", line 270, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/user/.local/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.start()
File "/home/user/.local/lib/python3.8/site-packages/notebook/serverextensions.py", line 294, in start
super(ServerExtensionApp, self).start()
File "/home/user/.local/lib/python3.8/site-packages/jupyter_core/application.py", line 259, in start
self.subapp.start()
File "/home/user/.local/lib/python3.8/site-packages/notebook/serverextensions.py", line 213, in start
self.toggle_server_extension(arg)
File "/home/user/.local/lib/python3.8/site-packages/notebook/serverextensions.py", line 184, in toggle_server_extension
toggle_serverextension_python(
File "/home/user/.local/lib/python3.8/site-packages/notebook/serverextensions.py", line 74, in toggle_serverextension_python
cm.update("jupyter_notebook_config", cfg)
File "/home/user/.local/lib/python3.8/site-packages/notebook/config_manager.py", line 132, in update
self.set(section_name, data)
File "/home/user/.local/lib/python3.8/site-packages/notebook/config_manager.py", line 109, in set
self.ensure_config_dir_exists()
File "/home/user/.local/lib/python3.8/site-packages/notebook/config_manager.py", line 66, in ensure_config_dir_exists
os.makedirs(self.config_dir, 0o755)
File "/usr/lib/python3.8/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/etc'.
If I run this with sudo
, it still do not succeed and says:
log with sudo
Traceback (most recent call last):
File "/home/user/.local/bin/jupyter", line 5, in <module>
from jupyter_core.command import main
ModuleNotFoundError: No module named 'jupyter_core'
from jupyterlab-latex.
My workaround is like this:
mkdir /usr/etc/jupyter
sudo chmod 777 /usr/etc/jupyter
jupyter serverextension enable --sys-prefix jupyterlab_latex
sudo chmod 755 /usr/etc/jupyter # which is the default file mode bit
Then everything can work fine.
I find that it wants to create put something into /usr/etc/jupyter
, but get permission denied
error. So I make that directory for it and change the back.
Still wondering why this happens.
from jupyterlab-latex.
Related Issues (20)
- jupyterlab 3.0 HOT 10
- Compiling with Revtex4.2 HOT 2
- Table of contents failing to display HOT 1
- Failure when running "jupyter labextension install @jupyterlab/latex" HOT 2
- Pagenumbers aren't defined
- Add prebuilt extension HOT 1
- Make default binder a "live" preview HOT 1
- Download Icon not visible on dark theme
- Server extension error, can't use extension at all HOT 3
- Continue releasing npm packages (3.1.0+)
- Scroll editor to page is not working but scroll pdf to cursor works fine. HOT 2
- GET 500 while use synctex to scroll editor to page HOT 1
- Server Extension Error when generating LaTeX preview in Docker (jupyterlab/scipy-notebook) HOT 1
- Latex macros in Jupyter Lab HOT 1
- Jupyterlab-latex update for Jupyterlab 4 and Lumino 2 HOT 1
- Support lualatex? HOT 1
- jupyterlab 4.x issues with latex and creating new files in the root dir of jlab HOT 3
- please add 3.2.0 on PyPI HOT 9
- v4.0 does not work in collaborative session in jlab 4 HOT 2
- please add 4.0.0 on PyPI
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 jupyterlab-latex.