Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error due to depreciated Py_SetProgramName(name); #366

Open
mgarrett1955 opened this issue Nov 15, 2024 · 1 comment
Open

Error due to depreciated Py_SetProgramName(name); #366

mgarrett1955 opened this issue Nov 15, 2024 · 1 comment

Comments

@mgarrett1955
Copy link

Im using Pytohon 3.13, and an experiencing a error due to Py_SetProgramName(name); bing depreciated in 3.11.

How can I fix this error?

Thank you in advance!!

@amadeus84
Copy link

I ran into the same problem some months ago, unfortunately looks like nobody maintains this anymore.
I have searched into the equivalent code to initialize the interpreter for the new versions of python, and I came across these pages:

https://docs.python.org/3/c-api/intro.html
https://docs.python.org/3/c-api/init.html#initialization

but I didn't have time to come up with a fix. I know C++ but I don't know the python internals, so it'd be new to me too. Sorry I don't have a fix, but maybe the links above would help, if anyone has the time to figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants