Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Pinned version of pyscf is broken #60

Open
kevinsung opened this issue Oct 9, 2023 · 2 comments
Open

Pinned version of pyscf is broken #60

kevinsung opened this issue Oct 9, 2023 · 2 comments

Comments

@kevinsung
Copy link
Collaborator

Describe the bug
It fails to install.

To Reproduce

  1. Clone this repo
  2. pip install -e .
...
Building wheels for collected packages: pyscf
  Building wheel for pyscf (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running bdist_wheel
      running build
      running build_ext
      cmake -S/tmp/pip-install-_irpoc6i/pyscf_38d39720820e4357b00d91660707e3f0/pyscf/lib -Bbuild/temp.linux-x86_64-cpython-310
      CMake Error: The source directory "/tmp/pip-install-_irpoc6i/pyscf_38d39720820e4357b00d91660707e3f0/pyscf/lib" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      error: command '/usr/bin/cmake' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyscf
  Running setup.py clean for pyscf
Failed to build pyscf
ERROR: Could not build wheels for pyscf, which is required to install pyproject.toml-based projects

Expected behavior
Should install

Additional context

Any suggestions?
Update the pySCF version.

@caleb-johnson
Copy link
Collaborator

caleb-johnson commented Oct 10, 2023

Describe the bug It fails to install.

To Reproduce

  1. Clone this repo
  2. pip install -e .
...
Building wheels for collected packages: pyscf
  Building wheel for pyscf (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running bdist_wheel
      running build
      running build_ext
      cmake -S/tmp/pip-install-_irpoc6i/pyscf_38d39720820e4357b00d91660707e3f0/pyscf/lib -Bbuild/temp.linux-x86_64-cpython-310
      CMake Error: The source directory "/tmp/pip-install-_irpoc6i/pyscf_38d39720820e4357b00d91660707e3f0/pyscf/lib" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      error: command '/usr/bin/cmake' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyscf
  Running setup.py clean for pyscf
Failed to build pyscf
ERROR: Could not build wheels for pyscf, which is required to install pyproject.toml-based projects

Expected behavior Should install

Additional context

Any suggestions? Update the pySCF version.

Hi Kevin, have you tried out the entanglement forging implementation in the circuit knitting toolbox? This repository will likely be deprecated once the new changes to the Estimator are available (circuit broadcasting with observable grouping).

@kevinsung
Copy link
Collaborator Author

Ok thanks I'll try that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants