Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source code directory.
cd /path/to/mxnet/mxnet
- Create a build directory.
mkdir build cd build
- Create a build file.
cmake .. -DUSE_CUDA=OFF
- Compile the installation file.
make -j
- Load the environment variable.
export LD_LIBRARY_PATH=/path/to/mxnet/mxnet/build:$LD_LIBRARY_PATH
- Create a MXNet-Python virtual environment and activate it.
pip3 install virtualenv mkdir -p /path/to/mxnet-python python3 -m venv /path/to/mxnet-python source /path/to/mxnet-python/bin/activate
- Install MXNet.
cd /path/to/mxnet/mxnet rm -rf python/mxnet/space.py cp contrib/tvmop/space.py python/mxnet/ python3 -m pip install ./python
Information similar to the following is displayed:

Parent topic: MXNet 2.0.0 Porting Guide (Kylin V10)