Replies: 1 comment
-
Ah, this is a bug which happens when the python environment can't detect a default locale. I put a fix in commit dbf1cad. To patch your code do this: git clone https://github.com/highfestiva/finplot.git
cp finplot/finplot/__init__.py /Users/kevin/Documents/pythonlearn/lib/python3.8/site-packages/finplot/ The next version will contain this fix. GL! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
installed finplot 1.9.0, using python3.8, when compiling showed following error.
Traceback (most recent call last):
File "/Users/kevin/Desktop/Pandas/masterpandasfinance/chap5timeseriesstock.py", line 65, in
import finplot as fplt
File "/Users/kevin/Documents/pythonlearn/lib/python3.8/site-packages/finplot/init.py", line 2824, in
any(sanctioned in code.lower() for sanctioned in 'ru be'.split()):
File "/Users/kevin/Documents/pythonlearn/lib/python3.8/site-packages/finplot/init.py", line 2824, in
any(sanctioned in code.lower() for sanctioned in 'ru be'.split()):
AttributeError: 'NoneType' object has no attribute 'lower'
Then I installed lower version of finplot 1.8.3 and 1.7 showing other errors:
Traceback (most recent call last):
File "/Users/kevin/Desktop/Pandas/masterpandasfinance/chap5timeseriesstock.py", line 65, in
import finplot as fplt
File "/Users/kevin/Documents/pythonlearn/lib/python3.8/site-packages/finplot/init.py", line 584, in
class FinPolyLine(pg.PolyLineROI):
File "/Users/kevin/Documents/pythonlearn/lib/python3.8/site-packages/finplot/init.py", line 624, in FinPolyLine
def movePoint(self, handle, pos, modifiers=QtCore.Qt.KeyboardModifier(), finish=True, coords='parent'):
TypeError: call() missing 1 required positional argument: 'value'
Please help me.
Beta Was this translation helpful? Give feedback.
All reactions