79420099

Date: 2025-02-07 07:53:02
Score: 1
Natty:
Report link

If you are running on Python version 3.13, downgrading it to Python 3.12 might solve the problem. According to my testing, both trying to replicate the issue and fix it. I found out that there is a Deprecated API in Python 3.13 as shown below,

scient/calc_expr.c(17866): error C2198: 'int _PyLong_AsByteArray(PyLongObject *,unsigned char *,size_t,int,int,int)': too few arguments for call

While for my case it was a problem with the "Scient" Package, it might not necessarily be the same. Regardless, in my case, Py_UNICODE is deprecated in Python 3.13, causing warnings.

In order to fix this, I reccomend downgrading to Python 3.12. And installing it in a virtual environment.

It is important to note that, I tested on Python 3.11, and due to unknown reason. I was not able to make it work.

Cheers,

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Caessar Cizer