ros-perception / vision_opencv

Apache License 2.0
549 stars 601 forks source link

error in anaconda virtual environment #523

Open Ocamyyyy opened 6 months ago

Ocamyyyy commented 6 months ago

after installing the cv_bridge with python3 of Ubuntu18.04, I can use cv_bridge normally by the system's python3. However, when I change the interpreter to a virtual environment python3.7 in anaconda and even remember sourcing the building result of cv_bridge, the result of code "from cv_bridge.boost.cv_bridge_boost import getCvType" is segment error. `Python 3.7.0 (default, Oct 9 2018, 10:31:47) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.

from cv_bridge.boost.cv_bridge_boost import getCvType 段错误 (核心已转储) `

ijnek commented 6 months ago

Do you have some more details of ros versions, and whether you're using a source build or binary build?

Two things to note though: