Forum Discussion
Hi guys, the real reason is the python version.
It looks like the python scripts must run in python version 2.7.5
You can verify that by running the following line in the directory of the A10 BSP where packager.pyz is stored (somewhere in opencl...)
>python packager.pyz
You will see that it fails with some versions of python.
The solution is to install python 2.7.5.
Read https://askubuntu.com/questions/1050084/install-python-2-7-6-in-ubuntu-16-04
and use the method with version 2.7.5
- NCade6 years ago
New Contributor
Hi DCast14,
This worked for us.
In our case we are using CentOS 7 with many versions of Python and `/usr/bin/python` was pointing to `/usr/bin/python3`.
We relinked `/usr/bin/python` to `/usr/bin/python2` and it looks like the issue is fixed.
Thanks for posting the solution!
- WWang766 years ago
New Contributor
Hi David.Castells,
Thank for your reply, I tried to run
$python packager.pyz
and get results:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "packager.pyz/__main__.py", line 28, in <module>
File "packager.pyz/packager.py", line 35, in <module>
File "packager.pyz/afu.py", line 52, in <module>
File "packager.pyz/jsonschema-2.3.0/jsonschema/__init__.py", line 18, in <module>
File "packager.pyz/jsonschema-2.3.0/jsonschema/validators.py", line 161, in <module>
File "packager.pyz/jsonschema-2.3.0/jsonschema/_utils.py", line 61, in load_schema
IOError: [Errno 20] Not a directory: u'/opt/inteldevstack/a10_gx_pac_ias_1_2_pv/opencl/opencl_bsp/hardware/pac_a10/build/tools/packager.pyz/jsonschema-2.3.0/jsonschema/schemas/draft3.json'
May I ask what is that the last line meaning?
It seems to point a wrong path. I thought it may be related to OPAE, but I am not sure.
Thanks in advance.