Open sapols opened 2 years ago
Further, since Python 3 all strings have been Unicode anyway - the function being imported just made sure the argument was encoded as a UTF-8 string
pip install pyqtgraph==0.11.1
Hi, just wanted to ping that I was caught out by this same issue just now when upgrading pytplot to version 1.7.28 in response to https://github.com/spedas/pyspedas/issues/434
I was prompted to install pyqtgraph
and initially installed the latest version (0.13.2), for which the submodule python2_3
doesn't exists. I downgraded as above so it works now, but would be preferable for this not be called in pyspedas.
On line 6 of AxisItem.py you are importing:
from pyqtgraph.python2_3 import asUnicode
but
pyqtgraph.python2_3
no longer exists in the current version of pyqtgraph (0.12.3). Since yourrequirements.txt
specifiespyqtgraph >= 0.11.1
, a normal import ofpytplot
now fails because dependency resolution will simply get the latestpyqtgraph
andpython2_3.py
won't exist in it.Either
requirements.txt
should be changed to specify apyqtgraph
version lower than 0.12.3 orAxisItem
should be changed to not requirepyqtgraph.python2_3
. The latter is probably preferable since everyone's dropping Python 2 support.