-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
os.errno doesn't exists anymore in Python 3.7 #1253
Labels
bug
Something isn't working
Comments
Thanks @artix41 for the report - and for taking the time of provide a spot-on and informative suggested solution! |
sengthai
pushed a commit
to sengthai/qiskit-terra
that referenced
this issue
Aug 23, 2023
…le order (Qiskit#6658) * Make tweedledum a hard requirement This commit switches the tweedledum requirement from being optional to a hard requirement for installing qiskit-terra. We rely on tweedledum to synthesize phase oracles which is commonly used functionality and several issues have been opened. This use of tweedledum will likely continue to grow so we should just list it as a requirement moving forward. We originally made it optional because the functionality depending on tweedledum was isolated to just the classical function compiler which wasn't widely used. There were also packaging issues in the past where the available precompiled binaries for tweedledum didn't support all of our supported environments, but those have been resolved. There is still an issue for arm64 macOS binaries but Qiskit doesn't have wide support for that yet (although there is a job for terra). At the same time this commit cleans up the optional requirements list so that aer is no longer listed there and we add an 'all' extra so that people can have a simple entypoint to install all the optional extras at once. Fixes Qiskit#6333 Fixes Qiskit#1253 * Remove unused imports * Cleanup docstrings * black setup * Update requirements.txt Co-authored-by: Bruno Schmitt <[email protected]> * User defined variable order for oracle expressions * Fix lint problems * Update qiskit/circuit/classicalfunction/boolean_expression.py Co-authored-by: Luciano Bello <[email protected]> * Tests and bug-fix * black * Add reno * black * Consider order in the parameters * black --------- Co-authored-by: Matthew Treinish <[email protected]> Co-authored-by: Luciano Bello <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Informations
What is the current behavior?
I used circuit_drawer() on a Jupyter notebook without having latex installed on my computer, but instead of getting the message
WARNING: Unable to compile latex. Is
pdflatexinstalled?
, I got the following error:Suggested solutions
Replacing
os.errno
by justerrno
(after having imported it). See for instance this thread on the Python bug trackerThe text was updated successfully, but these errors were encountered: