首页 > 解决方案 > Vagrant : RuntimeError: Python version >= 3.5 required

问题描述

我正在尝试运行这些代码: https ://github.com/cndreisbach/call-for-service/blob/master/docs/src/development.md

我一直在更新我的 python 并制作了我的默认版本的 python 3.5

vagrant@cfs:/vagrant$ python --version
Python 3.5.7

当我运行时:sudo pip3 install -r requirements.txt

    Cleaning up...
    Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/pandas
    Storing debug log for failure in /home/vagrant/.pip/pip.log
 RuntimeError: Python version >= 3.5 required.

我该如何解决这个问题?

标签: pythonvagrant

解决方案


尝试这个:

python -m pip install -r requirements.txt

有时会有一些版本冲突


推荐阅读