8000 Import error · Issue #13 · vpython/vpython-jupyter · GitHub
[go: up one dir, main page]

Skip to content

Import error #13

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 comm 8000 unity.

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

Closed
the-moog opened this issue Jun 27, 2019 · 0 comments · Fixed by #27
Closed

Import error #13

the-moog opened this issue Jun 27, 2019 · 0 comments · Fixed by #27
Labels
bug Something isn't working
Milestone

Comments

@the-moog
Copy link

python3
Ubuntu 18.04
pip3 install vpython

  Building wheel for vpnotebook (setup.py) ... error
  ERROR: Complete output from command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-psmc2uo_/vpnotebook/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6p65ughb --python-tag cp36:
  ERROR: ImportError install_kernel_spec
  /usr/lib/python3/dist-packages/setuptools/dist.py:397: UserWarning: Normalizing '0.1.03' to '0.1.3'
    normalized_version,
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/vpnotebook
  copying vpnotebook/__init__.py -> build/lib/vpnotebook
  creating build/lib/vpnotebook/data
  copying vpnotebook/data/kernel.json -> build/lib/vpnotebook/data
  installing to build/bdist.linux-x86_64/wheel
  running install
  Installing Python module...
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/vpnotebook
  creating build/bdist.linux-x86_64/wheel/vpnotebook/data
  copying build/lib/vpnotebook/data/kernel.json -> build/bdist.linux-x86_64/wheel/vpnotebook/data
  copying build/lib/vpnotebook/__init__.py -> build/bdist.linux-x86_64/wheel/vpnotebook
  running install_egg_info
  running egg_info
  writing vpnotebook.egg-info/PKG-INFO
  writing dependency_links to vpnotebook.egg-info/dependency_links.txt
  writing top-level names to vpnotebook.egg-info/top_level.txt
  reading manifest file 'vpnotebook.egg-info/SOURCES.txt'
  writing manifest file 'vpnotebook.egg-info/SOURCES.txt'
  Copying vpnotebook.egg-info to build/bdist.linux-x86_64/wheel/vpnotebook-0.1.3.egg-info
  running install_scripts
  Installing custom kernel ...
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-psmc2uo_/vpnotebook/setup.py", line 30, in <module>
      package_data={'vpnotebook': ['data/kernel.json']},
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 240, in run
      self.run_command('install')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-psmc2uo_/vpnotebook/vpnotebook/__init__.py", line 72, in run
      run_kernel_install(False)
    File "/tmp/pip-install-psmc2uo_/vpnotebook/vpnotebook/__init__.py", line 63, in run_kernel_install
      install_kernel_spec(source_dir, kernel_name='vpython', user=user)
  NameError: free variable 'install_kernel_spec' referenced before assignment in enclosing scope
  ----------------------------------------
  ERROR: Failed building wheel for vpnotebook

Perhaps the same import error as vpython/visual#10

@mwcraig mwcraig added this to the 7.5.2 milestone Sep 7, 2019
@mwcraig mwcraig added the bug Something isn't working label Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0