关于pip升级问题You are using pip version 10.0.1, however version 21.0.1 is available
使用pip安装py4j的方式:进入到安装Anaconda的Script目录下:cmd,然后输入 pip install py4j 进行安装
安装时出现问题:You are using pip version 10.0.1, however version 21.0.1 is available
完美解决方法:
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
已成功解决,可以成功安装py4j:
验证是否安装成功:
如图,导入py4j不报错,说明安装成功。