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
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
#229
Open
2 tasks done
zhangYQHBAU opened this issue
Oct 28, 2023
· 1 comment
This issue is not a duplicate. Before opening a new issue, please search existing issues.
This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Steps to Reproduce
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Expected Result
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Actual Result
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
ZED Camera model
ZED
Environment
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Anything else?
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
The text was updated successfully, but these errors were encountered:
I think I encountered the same issue, and if it's the same as mine, the actual error is not c_POSITION_TYPE not being a type identifier. In fact, if you scroll to the top of the long list of errors (quite too long), you would find out that the actual error is that pyzed/sl_c.pxd wasn't found by pyzed/sl.pyx.
The way to test whether this is the actual error or not, is to go to pyzed/sl.pyx, to this line:
zed-python-api/src/pyzed/sl.pyx::28:: from sl_c cimport ( String, to_str, Camera as c_Camera, ERROR_CODE as c_ERROR_CODE, toString
And add before it:
import sys
sys.path.append('/PATH-TO-ZED-API-LOCATION/zed-python-api/src')
from pyzed.sl_c cimport ( String, to_str, Camera as c_Camera, ERROR_CODE as c_ERROR_CODE, toString
Preliminary Checks
Description
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Steps to Reproduce
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Expected Result
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
Actual Result
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
ZED Camera model
ZED
Environment
Anything else?
When installing on an ubuntu system, the command used when compiling is: python 3 setup. py build, display error: pyzed/sl. pyx: 10455:161 "c_position_type" is not a type identifier, how to solve this problem?
The text was updated successfully, but these errors were encountered: