AMCT Installation with the .whl Package Compiled from the Source Package
If the installation server does not have some dependencies for source code compilation and installation, you can compile the source code package into a .whl package and install it. The following describes how to compile and install AMCT (TensorFlow).
- Install wheel.
Run the pip3 list command to check whether wheel exists. If yes, skip this step. If no, run the following command to install it:
pip3 install wheel --user
- Decompress the TensorFlow package.
tar -zxvf amct_tensorflow-{version}-py3-none-linux_{arch}.tar.gz - Build the .whl package.
Go to the extracted directory and run the following command:
cd amct_tensorflow-{version} && python3 setup.py bdist_wheelAfter the build, find the required .whl package in the dist directory.
- Install AMCT by using the .whl package.
pip3 install amct_tensorflow-{version}-py3-none-any.whl --userIf the following message is displayed, the installation is successful:1Successfully installed amct-tensorflow-{version}
Parent topic: FAQ