deepC icon indicating copy to clipboard operation
deepC copied to clipboard

SyntaxError: invalid syntax: "def compilerWrapper;"

Open thetemplar opened this issue 2 years ago • 0 comments

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)

thetemplar avatar Oct 04 '22 10:10 thetemplar