Skip to content

cannot install crystal_toolkit #1

Open
@luciandf

Description

@luciandf

I am trying to run some of the tutorials in vscode with the jupyter extension and it asks me for crystal_toolkit extension but I get a bunch of errors.

(pymatgen) [lucian@thor ~]$ pip3 install crystal_toolkit
Collecting crystal_toolkit
  Using cached crystal_toolkit-2024.10.22-py3-none-any.whl.metadata (18 kB)
Collecting crystaltoolkit-extension (from crystal_toolkit)
  Using cached crystaltoolkit-extension-0.6.0.tar.gz (2.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      Traceback (most recent call last):
        File "/home/lucian/miniconda3/envs/pymatgen/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/home/lucian/miniconda3/envs/pymatgen/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/lucian/miniconda3/envs/pymatgen/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-45avyai0/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-45avyai0/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/tmp/pip-build-env-45avyai0/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 7, in <module>
        File "/tmp/pip-build-env-45avyai0/overlay/lib/python3.13/site-packages/jupyter_packaging/__init__.py", line 7, in <module>
          from .setupbase import *
        File "/tmp/pip-build-env-45avyai0/overlay/lib/python3.13/site-packages/jupyter_packaging/setupbase.py", line 18, in <module>
          import pipes
      ModuleNotFoundError: No module named 'pipes'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

What is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions