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

cannot install crystal_toolkit #1

Open
luciandf opened this issue Jan 20, 2025 · 1 comment
Open

cannot install crystal_toolkit #1

luciandf opened this issue Jan 20, 2025 · 1 comment

Comments

@luciandf
Copy link

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?

@luciandf
Copy link
Author

digging around it appears that the module named pipes doesn't exist anymore...is there another way to install this module?!

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