Closed pipiche38 closed 5 months ago
https://github.com/PyO3/pyo3/issues/576
is this approach possible https://github.com/pyca/bcrypt/pull/714 ?
Hi. Sorry you're having trouble.
I'm not sure what the intention of this issue is though.
That error message happens if you initialize a module multiple times, and is saying "that's not supported (yet)". In a "normal" Python situation it shouldn't happen, so something in your setup is doing it. I don't know whether or what you should change, and it's possible you might indeed need to wait for PyO3 to eventually support this, or it's possible you're doing something incorrectly in initialization, but it's hard to guess.
I am using a python library (zigpy) which then is called in an embedded python framework. This is call several time and we are having this issue.
This isse is happening with some other python modules for which we have been able to downgrade to a level of PyO3 where the problem doesn't exist.