AMCT Installation with the .whl Package Compiled from the Source Package
If the AMCT installation server lacks some dependencies during installation from source code, you can compile the source package into a .whl package and install it as follows:
- 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:Successfully installed amct-tensorflow-{version}
Parent topic: See Also