You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed pypulseq in a new conda environment, numpy 1.24 was automatically installed as a dependency.
When importing pypulseq numpy throws an error because np.float is not supported anymore.
Since numpy version 1.20.0 this is deprecated and it is recommended to use float. Since 1.24.0 an error is issued instead of a warning.
To Reproduce
Install pypulseq in a fresh environment: pip install pypulseq
Import pypulseq import pypulseq as pp
Error is raised on the import statement, import is not possible.
Version: pypulseq version: 1.4.0
Workaround
After installing pypulseq, I reinstalled numpy with version 1.23 to avoid the error on import. pip install numpy==1.23.0
The text was updated successfully, but these errors were encountered:
This problem is resolved in #115. The version of the PyPI may not include the fix. Since PyPulseq v1.4.0 is in bug fix phase, I would recommend pulling the dev branch directly and using it, rather than installing through pip or conda, until those are updated.
Closing the issue since it is already solved. Feel free to reopen if you want to discuss further.
Hi,
I installed pypulseq in a new conda environment, numpy 1.24 was automatically installed as a dependency.
When importing pypulseq numpy throws an error because
np.float
is not supported anymore.Since numpy version 1.20.0 this is deprecated and it is recommended to use
float
. Since 1.24.0 an error is issued instead of a warning.To Reproduce
Install pypulseq in a fresh environment:
pip install pypulseq
Import pypulseq
import pypulseq as pp
Error is raised on the import statement, import is not possible.
Version:
pypulseq
version: 1.4.0Workaround
After installing pypulseq, I reinstalled numpy with version 1.23 to avoid the error on import.
pip install numpy==1.23.0
The text was updated successfully, but these errors were encountered: