Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing three modules, when trying to run setup.py test #81

Open
cekcreator opened this issue Jul 8, 2023 · 0 comments
Open

Missing three modules, when trying to run setup.py test #81

cekcreator opened this issue Jul 8, 2023 · 0 comments

Comments

@cekcreator
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant