-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
pyqtgraph 0.10.0 is incompatible with Python 3.8 #10
Comments
Fixes conda-forge#10. Patch derived from pyqtgraph/pyqtgraph#980.
if you need that the module works, you can go to the file ptime.py in your directory installation and edit the lines of 'systime.clock()' to 'systime.process_time()', the path of this file is: |
Thanks @oskr96. I have already created a patch like this (#12) which is applied to the most recent build on pyqtgraph. So, conda-forge users shouldn't experience this issue anymore. PyPI users, on the other hand, will continue to have this issue (see pyqtgraph/pyqtgraph#1077). |
1. Fixes `SyntaxWarning: "is" with a literal. Did you mean "=="?` - https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/ - https://realpython.com/lessons/warnings-about-dangerous-syntax/ 2. Change minimum version for pyqtgraph if you are using conda everything is fine with the latest stable release, but with pip you should use the latest version conda-forge/pyqtgraph-feedstock#10
Issue: pyqtgraph 0.10.0 uses the
clock
function in the standard moduletime
when running on Windows. This function was removed in Python 3.8. That issue was fixed in the pyqtgraph dev (pyqtgraph/pyqtgraph#980). However, that fix is unreleased, and because the latest conda-forge recipe does not include the restriction Python<3.8, runningconda create -n test -c conda-forge pyqtgraph
will result in an unusable environment because Python 3.8 is fetched by default. Subsequently runningimport pyqtgraph
givesEnvironment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: