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

Conda setup issue #36

Open
matteorr opened this issue Oct 26, 2023 · 1 comment
Open

Conda setup issue #36

matteorr opened this issue Oct 26, 2023 · 1 comment

Comments

@matteorr
Copy link

There seems to be a dependency issue between the checklist and the notebook packages.
I kept getting the following error when trying to install using ./scripts/setup_conda.sh:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/mnt/tmp/pip-install-agcyk1c_/checklist_cdbf3a4517814d0a8ddc1381fe4d54ce/setup.py", line 56, in <module>
        setup(name='checklist',
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/__init__.py", line 107, in setup
        return distutils.core.setup(**attrs)
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
        self.run_command(cmd)
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/dist.py", line 1234, in run_command
        super().run_command(command)
      File "/miniconda/envs/rome/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
        cmd_obj.run()
      File "/mnt/tmp/pip-install-agcyk1c_/checklist_cdbf3a4517814d0a8ddc1381fe4d54ce/setup.py", line 53, in run
        enable_visual_interface()
      File "/mnt/tmp/pip-install-agcyk1c_/checklist_cdbf3a4517814d0a8ddc1381fe4d54ce/setup.py", line 14, in enable_visual_interface
        notebook.nbextensions.install_nbextension_python(
    AttributeError: module 'notebook' has no attribute 'nbextensions'
    ----------------------------------------
Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement checklist==0.0.11 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11)
ERROR: No matching distribution found for checklist==0.0.11

I had to fix by reverting version of notebook to 5.6.0 in the rome.yml file.

@ZHANGJINKUI
Copy link

it is still error after notebook to 5.6.0

AttributeError: module 'notebook' has no attribute 'nbextensions'
----------------------------------------

WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/38/b3/8511f50025b9fc66f5feacf9eb2db044c321f4026b6937cb3820f29e9c1d/checklist-0.0.11.tar.gz#sha256=427cf87dbf47ce9f9ab059a9bbf393d9ebf967e266f8fca377420bd6995a95ac (from https://pypi.tuna.tsinghua.edu.cn/simple/checklist/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement checklist==0.0.11 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11)
ERROR: No matching distribution found for checklist==0.0.11

failed

CondaEnvException: Pip failed

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

2 participants