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

pyquil is incompatible with pyzx because it depends on an old version of lark #1764

Closed
2 tasks done
dlyongemallo opened this issue Apr 9, 2024 · 0 comments · Fixed by #1782
Closed
2 tasks done

pyquil is incompatible with pyzx because it depends on an old version of lark #1764

dlyongemallo opened this issue Apr 9, 2024 · 0 comments · Fixed by #1782
Labels
bug 🐛 An issue that needs fixing.

Comments

@dlyongemallo
Copy link

Pre-Report Checklist

  • I am running the latest versions of pyQuil and the Forest SDK
  • I checked to make sure that this bug has not already been reported

Issue Description

It is not possible to install pyquil and pyzx together in the same environment. I tried pyquil versions 3.2.0 to 4.8.0.

How to Reproduce

Code Snippet

pip install pyzx==0.8.0 pyquil==4.8.0

Error Output

ERROR: Cannot install pyquil==4.8.0 and pyzx==0.8.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    pyzx 0.8.0 depends on lark~=1.1.7
    pyquil 4.8.0 depends on lark<0.12.0 and >=0.11.1

Environment Context

Operating System: Linux

Python Version (python -V): Python 3.10.12

Quilc Version (quilc --version): N/A

QVM Version (qvm --version): N/A

Python Environment Details (pip freeze or conda list):

[empty: new virtual environment]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue that needs fixing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant