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

No module named 'cc_sym' #341

Closed
BenedictChannn opened this issue Jun 1, 2023 · 5 comments
Closed

No module named 'cc_sym' #341

BenedictChannn opened this issue Jun 1, 2023 · 5 comments

Comments

@BenedictChannn
Copy link

Built with cmake, following the steps provided in the readme but somehow not able to import cc_sym.

@aaron-skydio
Copy link
Member

You mean from symforce import cc_sym fails? What is the error you get?

@BenedictChannn
Copy link
Author

In Line 18 of cc_sym.py,

from cc_sym import * # pylint: disable=wildcard-import

ModuleNotFoundError: No module named 'cc_sym'

@BenedictChannn
Copy link
Author

When I built with cmake and executed the make -j $(nproc) command and did run into some errors. There seems to be some issue with my fmt library perhaps.

The error specifically mentions the inability to format an argument of type sym::Key& and std::vectorsym::key_t&.

Can I ask what is the proper way to install fmt to be compatible with symforce?

Also, I keep having the 'TYPE_CHECKING' is not defined error. Is anyone also encountering the same issue? And knows how to resolve the issue?

@aaron-skydio
Copy link
Member

I'm going to guess that the issue is that you haven't actually built cc_sym at all - let's resolve that at #340

@aaron-skydio
Copy link
Member

This was resolved in discussion at #340

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

2 participants