Make aws-fpga repository Ubuntu and Python3 friendly?

0

I ran into a couple of issues with the python script below in the aws-fpga repository on Ubuntu 16.04
$./SDAccel/examples/xilinx_2018.3/utility/parsexpmf.py

  1. It uses #!/bin/env, which doesn't exist on Ubuntu by default.
  2. It uses Python2 print syntax
    print vbnv(root)
    ^
    SyntaxError: invalid syntax

Is there a plan to make it compatible with Ubuntu and Python3 friendly?

Thanks,
Jim

asked 5 years ago154 views
2 Answers
0

Hi Jim, for the parsexpmf.py header, it looks like the incorrect pathing was used for this file. In the other Python scripts, /usr/bin/env is used, which does exist in Ubuntu 16.04.

For the Python 2.x syntax, currently there isn't any plan to update these files to be compatible with Python 3.x, however I have created a request with development to discuss potentially updating these scripts along with updating parsexpmf.py to use the correct location in the header.

answered 5 years ago
0

Thanks @kmorris!

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions