不要尝试其他的方法,用conda安装 conda install -c pytorch faiss-cpu 安装TensorFlow pip install tensorflow-gpu==1.4.0 -i https://pypi.tuna.tsinghua.edu.cn/simple 安装bert4keras pip install bert4keras