deepC
deepC copied to clipboard
SyntaxError: invalid syntax: "def compilerWrapper;"
I am trying to get "compile-onnx" running, but have an error:
root@15082926ce00:/# compile-onnx
Traceback (most recent call last):
File "/usr/local/bin/compile-onnx", line 5, in <module>
from deepC.scripts.onnx2exe import main
File "/usr/local/lib/python3.10/dist-packages/deepC/scripts/onnx2exe.py", line 38
def compilerWrapper;
^
SyntaxError: invalid syntax
It can be reproduces with a simple empty ubuntu docker:
sudo docker run -i -t ubuntu /bin/bash
---------------------------
apt update && apt upgrade -y
apt install python3 python3-pip3
pip install deepC
compile-onnx
(also with an file argument compile-onnx xy.onnx
)