Skip to content
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

Clean install failed on Python 3.9 #5984

Open
raffaeler opened this issue Feb 17, 2021 · 0 comments
Open

Clean install failed on Python 3.9 #5984

raffaeler opened this issue Feb 17, 2021 · 0 comments

Comments

@raffaeler
Copy link

Windows 10 machine. with no Python stuff was installed.

  • downloaded and installed Python 3.9 x64 to the local profile.
  • the environment is correct (where utility reports only the 3.9)
  • no other python packages installed before starting with jupyter
  • Jupyter installed with pip install jupyterlab
  • I followed the install instructions as for https://jupyter.org/install.html
h:\>jupyter-lab
'jupyter-lab' is not recognized as an internal or external command,
operable program or batch file.

But jupyter is correctly installed:

h:\>jupyter
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json] [--debug] [subcommand]
jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required

I then tried the notebook stuff by installing pip install notebook, but it doesn't work

h:\>jupyter notebook
Traceback (most recent call last):
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\raffaeler\AppData\Local\Programs\Python\Python39\Scripts\jupyter-notebook.EXE\__main__.py", line 4, in <module>
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\notebook\notebookapp.py", line 49, in <module>
    from zmq.eventloop import ioloop
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\__init__.py", line 125, in <module>
    from zmq import backend
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\backend\__init__.py", line 32, in <module>
    raise original_error from None
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\backend\select.py", line 32, in select_backend
    mod = import_module(name)
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
    from . import (
ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (c:\users\raffaeler\appdata\local\programs\python\python39\lib\site-packages\zmq\backend\cython\__init__.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant