-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Hey! I am trying to run the setup.py script on a silicon mac. I know the documentation says they have only tested on ubuntu machines but I was hoping to see if anyone is successful using a mac or if anyone knows any information on my issues below.
When running the setup.py script I encounter three failed tests, which are noted at the bottom, two of the tests failed because of the perception error and one failed because of the abstactstatic module. I tried conda/pip installing both but it still did not work.
If you need more please let me know! I saw another person with the same issue saying to revert the perception repo so if anyone knows how to do that, lmk as well!
`autolab_core not installed as catkin package, RigidTransform ros methods will be unavailable
learning_test (unittest.loader._FailedTest) ... ERROR
grasping_test (unittest.loader._FailedTest) ... ERROR
database_test (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: learning_test (unittest.loader._FailedTest)
ImportError: Failed to import test module: learning_test
Traceback (most recent call last):
File "/Users/calebkumar/anaconda3/envs/hg2_python3_9/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = import(module_name)
File "/Users/calebkumar/Desktop/HIRO/dex-net/test/learning_test.py", line 38, in
from dexnet.learning import RandomBinaryObjective, RandomContinuousObjective, UniformAllocationMean, ThompsonSampling, GaussianUniformAllocationMean, MaxIterTerminationCondition
File "/Users/calebkumar/Desktop/HIRO/dex-net/src/dexnet/init.py", line 23, in
from abstractstatic import abstractstatic
ModuleNotFoundError: No module named 'abstractstatic'
======================================================================
ERROR: grasping_test (unittest.loader._FailedTest)
ImportError: Failed to import test module: grasping_test
Traceback (most recent call last):
File "/Users/calebkumar/anaconda3/envs/hg2_python3_9/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = import(module_name)
File "/Users/calebkumar/Desktop/HIRO/dex-net/test/grasping_test.py", line 36, in
from perception import CameraIntrinsics
ImportError: cannot import name 'CameraIntrinsics' from 'perception' (/Users/calebkumar/anaconda3/envs/hg2_python3_9/lib/python3.9/site-packages/perception/init.py)
======================================================================
ERROR: database_test (unittest.loader._FailedTest)
ImportError: Failed to import test module: database_test
Traceback (most recent call last):
File "/Users/calebkumar/anaconda3/envs/hg2_python3_9/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
module = import(module_name)
File "/Users/calebkumar/Desktop/HIRO/dex-net/test/database_test.py", line 37, in
from perception import CameraIntrinsics, RenderMode
ImportError: cannot import name 'CameraIntrinsics' from 'perception' (/Users/calebkumar/anaconda3/envs/hg2_python3_9/lib/python3.9/site-packages/perception/init.py)
Ran 3 tests in 0.000s
FAILED (errors=3)
Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
`
learning_test (unittest.loader._FailedTest) ... ERROR
grasping_test (unittest.loader._FailedTest) ... ERROR
database_test (unittest.loader._FailedTest) ... ERROR