Closed lidongren closed 3 years ago
Describe the bug I cannot import scikit_posthocs under python 2.7 by using Spyder. when I run the following code: import scikit_posthocs as sp
It gives the following error:
import scikit_posthocs as sp File "//anaconda2/lib/python2.7/site-packages/scikit_posthocs/_global.py", line 6 def global_simes_test(x: Union[List, ndarray]) -> float: ^ SyntaxError: invalid syntax
Could you give a solution? Thanks.
Sorry, Python 2.7 support is discontinued. Please use Python 3 instead.
Describe the bug I cannot import scikit_posthocs under python 2.7 by using Spyder. when I run the following code: import scikit_posthocs as sp
It gives the following error:
import scikit_posthocs as sp File "//anaconda2/lib/python2.7/site-packages/scikit_posthocs/_global.py", line 6 def global_simes_test(x: Union[List, ndarray]) -> float: ^ SyntaxError: invalid syntax
Could you give a solution? Thanks.