可以试试如下的方法安装apex: git clone https://github.com.cnpmjs.org/NVIDIA/apex.git cd apex python setup.py install