question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation Error: "NameError: name 'CoreConfig' is not defined"

See original GitHub issue

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 <listcomp> 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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
Freedomisgoodcommented, Sep 22, 2019

Solved! That’s because the version of nodejs is low…My version is v4.2.6, I thought I install the newest, but that’s not true, everything is ok when i upgrade to v10.16.3

1reaction
ConanCuicommented, Nov 19, 2019

Hi you can update your nodejs to solve this problem by this simple code conda install -c conda-forge nodejs this code is from the official jupyter lab document. https://jupyterlab.readthedocs.io/en/stable/user/extensions.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Error: "NameError: name 'CoreConfig' is not defined" - 创 ...
创客智造,宗旨是以无人车,无人机,无人船,无人潜艇为基础平台打造一个集合硬件,软件,系统的综合交流平台。同时基于我们学习和研究整理相关的开源资料。
Read more >
Django : Can't import 'module'. Check that module AppConfig ...
According to the documentation, AppConfig.name is a full python path to the application. AppConfig.name. Full Python path to the application ...
Read more >
core/config.mk - platform/build - Git at Google
core / config.mk ... Tell python not to spam the source tree with .pyc files. This ... $(error TARGET_ARCH not defined by board...
Read more >
Core drush commands
Download, install, serve and login to Drupal with minimal configuration and dependencies. core-requirements, Provides information about things that may be wrong ...
Read more >
McAfee ePolicy Orchestrator 5.10.0 Product Guide
IF YOU DO NOT AGREE TO ALL OF THE TERMS SET FORTH IN THE AGREEMENT, DO NOT INSTALL THE ... extracting the contents...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found