You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and from sources after cloning the repository via setup.py:
python setup.py build
python setup.py install
within a conda environment. In both cases I manage to install the library but when I attempt to import it the python runtime crashes:
$ python
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:50:56)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybgs
Fatal Python error: _PyInterpreterState_Get(): no current thread state
Python runtime state: unknown
[1] 79583 abort python
To Reproduce
Install the library, either via pip or setup.py, and attempt to import it via import pybgs.
Expected behavior
The library is expected to import without crashing the python runtime.
System information
Desktop (please complete the following information):
OS: macOS 11.6
Python version: 3.8.12
OpenCV version: 3.4.7
conda version: 4.10.3
Additional context
Building the library with CMake and running the example run_video.sh is successful. I have tried multiple different python versions, but the result is always the same.
Hello @jnissin ,
Sorry for my absence, I had to put the bgslibrary in standby for a long time.
I will try to reproduce your issue in my local environment.
I come back to you soon as possible,
Thanks
Andrews
Hello @jnissin@xavibou , sorry for my delayed feedback.
I just released a new version of the BGSLibrary, now v3.1.0.
I tested it on Windows, Mac and Linux, both compiling the C++ library on OpenCV 3.4.7, 3.4.16 and 4.6.0.
I also tested its respective Python wrapper and GT user interface.
Everything is working for me, could you please check in your side if this new version fix your issues?
Thanks in advance,
Andrews
Describe the bug
I have attempted to install
pybgs
both viapip
:and from sources after cloning the repository via
setup.py
:within a conda environment. In both cases I manage to install the library but when I attempt to import it the python runtime crashes:
To Reproduce
Install the library, either via pip or setup.py, and attempt to import it via
import pybgs
.Expected behavior
The library is expected to import without crashing the python runtime.
System information
Desktop (please complete the following information):
Additional context
Building the library with CMake and running the example
run_video.sh
is successful. I have tried multiple different python versions, but the result is always the same.Installed packages
The text was updated successfully, but these errors were encountered: