You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/29 04:10:50 UTC

[GitHub] [incubator-mxnet] xxxpsyduck edited a comment on issue #19239: mxnet-tensorrt 1.8 build python package issue

xxxpsyduck edited a comment on issue #19239:
URL: https://github.com/apache/incubator-mxnet/issues/19239#issuecomment-700406953


   @leezu I added the following lines to `tools/pip/setup.py` and `python/setup.py`:
   ```
   if platform.system() == 'Linux':
       libdir, mxdir = os.path.dirname(LIB_PATH[0]), os.path.join(CURRENT_DIR, 'mxnet')
       if os.path.exists(os.path.join(libdir, 'libonnx_proto.so')):
           shutil.copy(os.path.join(libdir, 'libonnx_proto.so'), mxdir)
           package_data['mxnet'].append('mxnet/libonnx_proto.so')
   ```
   The error still occurs.
   update: I checked and the file is missing from `libdir` so I moved the required file to the `libdir` folder. Built successfully but same error happens when I try to import


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org