Closed feigenwinter closed 3 years ago
Hi Christian, thanks for reporting the issue.
Could you please provide more diagnostic info by running the following command:
sp.show_version()
Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
import supy supy.version '2021.7.1 ' import pandas pandas.version '1.3.0' import numpy numpy.version '1.21.0'
Here is the full output...
>>> sp.show_version()
SuPy versions
-------------
supy: 2021.7.1
supy_driver: 2021a2
=================
SYSTEM DEPENDENCY
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-74-generic
Version : #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 57.1.0
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.06.1
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.0
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : None
thanks for the info.
Could you please double-check on your windows machine if such info is similar?
in particular, is your pandas
on windows also 1.3.0
? or a 1.2.x
version?
I noticed you have pandas 1.3.0
on your linux machine.
just confirmed on macOS pandas 1.3.0
would cause the same issue.
on my windows PCs I have pandas 1.1.5 and 1.2.5, both work fine with supy. So it seems that I have to downgrade pandas on the Linux machine?
for the time being, please do so: downgrade pandas to get things working. however, I'll fix this soon: ~this weekend. sorry about the inconvenience.
works now with pandas 1.2.5 thanks a lot! Best regards from rainy Switzerland Christian
this should be fixed now: a minor issue in assigning values. please wait for an hour or so before you can update supy to the latest version 2021.7.15: a fixed version was just submitted.
Describe the Issue Hi Ting, The above error occurs when running supy in a Linux environment. The example is for loading SampleData, but it also occurs with my own data, e.g. with df_state_init = sp.init_supy(rctrl). supy runs fine with the same input data in a Windows environment. Location
Screenshots feige@met-ws1:~/py$ python3 Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
error message:
Additional context Thanks for checking Christian