-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
scipy minimal required version does not have unitary_group #829
Comments
@diego-plan9 can you just update the dependencies as we don't want to write this function. |
This is on its way to be fixed via #713 |
@diego-plan9 @delapuente this issue still has not been fixed: requirements.txt still lists scipy>=0.19, and qiskit.tools.qi.qi still tries to import unitary_group from scipy.stats |
Thanks for reporting, @dtmcclure - can you paste the version of I'm reopening the issue so we can investigate further - and actually pinging @ewinston as he might have more information. Based on https://github.com/Qiskit/qiskit-terra/pull/713/files#r214942849:
But it could be the case that the exclusion of 0.19.1 might not be enough. |
I thought this was in 0.19.0 but I couldn't find it. Maybe just change requirement to >=1.0.0 or maybe Jay has other idea? |
Diego yeah I was using 0.19.0 and it could not find unitary_group. This is
consistent with the scipy source code:
Not present in 0.19.0:
https://github.com/scipy/scipy/blob/v0.19.0/scipy/stats/_multivariate.py
Present in 1.0.0:
https://github.com/scipy/scipy/blob/v1.0.0/scipy/stats/_multivariate.py
…On Mon, Feb 4, 2019 at 3:50 PM ewinston ***@***.***> wrote:
I thought this was in 0.19.0 but I couldn't find it. Maybe just change
requirement to >=1.0.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#829 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AanFzfKlSw3IWtd-09cjO2y00lJ75OtDks5vKJ0lgaJpZM4WPRGd>
.
|
@dtmcclure can you check now |
Looking at the changes proposed in the PR, it appears they will fix the
problem once approved.
…On Sun, Feb 24, 2019 at 3:29 PM Jay Gambetta ***@***.***> wrote:
@dtmcclure <https://github.com/dtmcclure> can you check now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#829 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AanFzT_7wtcjIz0DkWLtV7BCVIqKSqmoks5vQvYngaJpZM4WPRGd>
.
|
Informations
The changes included in #760 require a
scipy
version that providesscipy.stats.unitary_group
, which is not available in the minimal version currently required for scipy:We should look for the minimal version of
scipy
that includes that function (seems to be 1.0) and update the dependencies accordingly - otherwise we risk installations with brokenqiskit.tools.qi.qi
in some cases.The text was updated successfully, but these errors were encountered: