Iorest opened a new issue #6285:
URL: https://github.com/apache/incubator-tvm/issues/6285


   I run `make ip MODE=sim  `,and error occurs
   
   
   ```
   Traceback (most recent call last):
     File "/tvm/3rdparty/vta-hw/hardware/xilinx/../../config/vta_config.py", 
line 230, in <module>
       main()
     File "/tvm/3rdparty/vta-hw/hardware/xilinx/../../config/vta_config.py", 
line 138, in main
       cflags_str = " ".join(pkg.cflags)
   UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 25: 
ordinal not in range(128)
       while executing
   
   ```
   I think that adding following  code to `vta_config.py`  solves it,
   ```
   reload(sys)
   sys.setdefaultencoding('utf8')
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to