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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]