client-superstaq icon indicating copy to clipboard operation
client-superstaq copied to clipboard

pip install <qiskit/cirq>-superstaq on Windows

Open vietphamngoc opened this issue 1 year ago • 9 comments

What is happening?

The installation of <qiskit/cirq>-superstaq on Windows throws the following error:

File "C:\Users\viet.phamngoc\AppData\Local\Temp\pip-build-env-k7mfbk84\overlay\Lib\site-packages\setuptools\config\expand.py", line 215, in _load_spec
          spec.loader.exec_module(module)  # type: ignore
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap_external>", line 936, in exec_module
        File "<frozen importlib._bootstrap_external>", line 1074, in get_code
        File "<frozen importlib._bootstrap_external>", line 1004, in source_to_code
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "C:\Users\viet.phamngoc\client-superstaq\qiskit-superstaq\qiskit_superstaq\_version.py", line 1
          ../../general-superstaq/general_superstaq/_version.py
          ^
      SyntaxError: invalid syntax

How can we reproduce the issue?

conda create -n venv-qiskitsuperstaq python=3.11
conda activate venv-qiskitsuperstaq
cd client-superstaq
cd qiskit-superstaq
pip install -e ".[dev]"

What should happen?

pip install should pass without error. Seems to be working on Linux

Environment

  • Superstaq version:
  • general-superstaq version:
  • cirq-superstaq version:
  • qiskit-superstaq version:
  • Operating system: Windows 10 Pro
  • Python version:
  • Any other relevant dependencies:

Any additional context?

No response

vietphamngoc avatar Jan 08 '24 12:01 vietphamngoc