Open axellee1994 opened 9 months ago
It's weird, with almost the same version of Python, I have no problem running it.
❯ python
Python 3.11.5 (main, Aug 24 2023, 15:23:30) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import c_formatter_42.data
>>> print(c_formatter_42.data.__file__)
/.../c_formatter_42/c_formatter_42/data/__init__.py
❯ echo 'int main() { return 0; }' | c_formatter_42
int main(void)
{
return (0);
}
I've installed c_formatter_42 using pip3 install c-formatter-42 in Python 3.11.6. The installation was successful without any errors.
However, when I try to use the package, I get a TypeError with the following traceback:
c_formatter_42
package's source code. It's trying to get the__file__
attribute of thec_formatter_42.data
module, but this attribute seems to beNone
.keyhr.42-c-format
extension.Can you please help me understand what's going wrong?