Error processing line 1 of /home/chenqianyi/anaconda3/envs/pysyft/lib/python3.7/site-packages/distutils-precedence.pth:
Traceback (most recent call last):
File "/home/chenqianyi/anaconda3/envs/pysyft/lib/python3.7/site.py", line 168, in addpackage
exec(line)
File "" , line 1, in <module>
ModuleNotFoundError: No module named '_distutils_hack'
这是服务器环境配置存在问题
打开error对应的文件/home/chenqianyi/anaconda3/envs/pysyft/lib/python3.7/site-packages/distutils-precedence.pth
将import os;后面加上一个enter换行
这样就可以解决这个报错问题