Comments (8)
Thanks for alerting us to this! I think I've located and fixed the problem in the new 0.9.4.1 release. The only change in this release is the fix that should allow the PyPi install to work properly on all platforms. So doing pip install --upgrade pygsti
should fix this issue.
from pygsti.
@enielse I tested your updated pypi version of pygsti.
Installation seems to work OK however when I try to import it import pygsti
I get a bunch of import errors (see below). Again, these occur both on our online test builds (that depend on pygsti) and should emulate a linux system as well as on my laptop (mac)
For completeness, this is PyGSTi 0.9.4.1
from pygsti.
Ok, we're making progress. I think I've fixed the ModuleNotFoundError
in the new version 0.9.4.3 (I had fixed most of the issues in 0.9.4.2 then realized I missed one, hence the 0.9.4.3 - sorry for all the version number shenanigans). Please try pip install --upgrade pygsti
again and let me know if the import works.
from pygsti.
I just tested version 0.9.4.3 from PyPi. It works fine on my laptop but my online builds (e.g., https://travis-ci.org/DiCarloLab-Delft/PycQED_py3/jobs/355364326) are still failing on pygsti.
It looks like it is because one of the requirements for pygsti (ply
) is missing. I checked that pypi lists this as a requirement and that my online build correctly reported 0.9.4.3 .
My guess is that somehow the pip install pygsti does not correctly install the requirements but I'm not sure.
A temporary workaround could be me adding ply
to the requirements of our package but that seems a bit hacky.
from pygsti.
Adriaan - I haven't forgotten about this and even think I may have figured out the problem. After I do a few more checks I should get a 0.9.4.4 version for you to try, and hopefully that will fix your TravisCI builds.
from pygsti.
Ok - version 0.9.4.4 is up. I've been improving the way we test the pypi distributions, and this one seems to correctly pull in ply
in all the tests I've run -- let me know if it does for you (fingers crossed).
from pygsti.
@enielse I can confirm that the new release solved my problem. Tests are passing again. Thanks!
from pygsti.
Great - so just to summarize for folks looking at this later on:
- pip install is broken in pyGSTi 0.9.4 (in various ways; see above posts)
- after 4 minor releases we've been able to get our act together, and pyGSTi 0.9.4.4 (and later hopefully!) fixes this issue.
from pygsti.
Related Issues (20)
- Gate staticized, unitarized during gate reassignment HOT 1
- LGST doesn't work with TP-parameterized target models
- Reparameterizing model doesn't propagate to model members dictionaries HOT 2
- Cannot compute product of editable circuit
- Nondeterministic Unit Test Failures HOT 5
- Re-evaluating Skipped Unit Tests HOT 3
- OpenQASM returned by convert_to_openqasm includes opaque gates. HOT 8
- Gauge transformations on SPAM HOT 2
- Faster unit tests/notebooks HOT 9
- Unexpected file in test_packages HOT 2
- ProtocolResults Incompletely Loads From Directory
- Target & True Models Should Be Static HOT 5
- Idea: Switch macOS tests to run against beta branch HOT 4
- Pygsti is incompatible with scipy 1.12 HOT 1
- Fiducial selection for prep fiducials generates wrong qubit labels HOT 6
- Avoid unintended calls to ``ComplementPOVMEffect.to_vector()``
- Use ``@`` for matrix-matrix and matrix-vector multiplications HOT 3
- Docstring for QuditProcessorSpec has mistake for "availability"
- Distinction between correlation error generators and active error generators in HTML reports
- Performance improvement for 2-qubit GST HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygsti.