-
Notifications
You must be signed in to change notification settings - Fork 91
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
ModuleNotFoundError: No module named 'py' #565
Labels
Comments
mtreinish
added a commit
to mtreinish/qiskit-ignis
that referenced
this issue
Nov 2, 2020
The recent pyfakefs 4.2.0 release is raising an import error whenever it's imported, see pytest-dev/pyfakefs#565 for more details. This commit pins the pyfakefs version to the last known working version until there is a new release fixing this issue.
Thanks - I seem to have introduced a dependency to pytest here. Didn't notice this because pytest is always installed as a development dependency. I will try to fix this ASAP, for the time being the workaround is either to pin pyfakefs to the previous version, or add pytest to the dependencies. |
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Nov 2, 2020
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Nov 2, 2020
@sr-verde, @mtreinish - I have published a new patch release (4.2.1) with the fix. |
chriseclectic
pushed a commit
to qiskit-community/qiskit-ignis
that referenced
this issue
Nov 2, 2020
* Pin pyfakefs to avoid broken release The recent pyfakefs 4.2.0 release is raising an import error whenever it's imported, see pytest-dev/pyfakefs#565 for more details. This commit pins the pyfakefs version to the last known working version until there is a new release fixing this issue. * Ignore numba namespace in pylint
mtreinish
added a commit
to mtreinish/qiskit-ignis
that referenced
this issue
Nov 12, 2020
* Pin pyfakefs to avoid broken release The recent pyfakefs 4.2.0 release is raising an import error whenever it's imported, see pytest-dev/pyfakefs#565 for more details. This commit pins the pyfakefs version to the last known working version until there is a new release fixing this issue. * Ignore numba namespace in pylint (cherry picked from commit c572b34)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Unittest fails with
ModuleNotFoundError: No module named 'py'
This error does not happen with PyFakeFS versions less 4.2.
How To Reproduce
Minimal example:
Your enviroment
The text was updated successfully, but these errors were encountered: