-
Notifications
You must be signed in to change notification settings - Fork 16
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
Installation Error: "NameError: name 'CoreConfig' is not defined" #19
Comments
Hmm... This kinda smells like a deployment issue, but I'm not sure. Can you give the output of the following commands?
That'll narrow it down a bit |
Actually, I aslo met with this problem just now. The same log is given when I printed |
I dont install any extension. |
I think this is related to jupyterlab/jupyterlab#7211. @Freedomisgood, given that you've run into this installing other extensions as well, I'm inclined to believe this is towards JupyterLab core. I'll investigate some more tomorrow, and see what's up. |
Solved! |
Awesome! Looking over the logs again I can see why that's the case:
Probably means the version check is using a feature not available on Node 4 (causing it to break). I'll close this for now, but @skyler14 feel free to reopen if this doesn't fix your issue. |
well, I've just met the same problem with you, but I didn't solve it after upgrade the nodejs. My nodejs version is v8.10.0. |
Hi you can update your nodejs to solve this problem by this simple code |
System: Ubuntu 16.04
When I run the installation
jupyter labextension install jupyterlab-spreadsheet
in my Python 3.5.2 virtualenv I get the error:
An error occured. NameError: name 'CoreConfig' is not defined See the log file for details: /tmp/jupyterlab-debug-05zbv00j.log
The log in that location outputs
Traceback (most recent call last):
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/commands.py", line 1657, in _node_check
output = subprocess.check_output([node, 'node-version-check.js'], cwd=HERE)
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 708, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/nodejs', 'node-version-check.js']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/labextensions.py", line 93, in start
ans = self.run_task()
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/labextensions.py", line 147, in run_task
for i, arg in enumerate(self.extra_args)
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/labextensions.py", line 147, in
for i, arg in enumerate(self.extra_args)
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/commands.py", line 319, in install_extension
_node_check(logger)
File "/home/skyler/Documents/NN/tf/lib/python3.5/site-packages/jupyterlab/commands.py", line 1660, in _node_check
data = CoreConfig()._data
NameError: name 'CoreConfig' is not defined
Exiting application: jupyter
The text was updated successfully, but these errors were encountered: