【发布时间】:2019-04-08 20:12:57
【问题描述】:
我正在关注 Vagrant (Ubuntu 18.04 / Python3.6.6) 中的 python-django 教程。运行pip3 install pytest-django并配置pytest.ini文件后,运行pytest返回
Command 'pytest' not found, but can be installed with:
apt install python-pytest
Please ask your administrator.
pip3 freeze 输出:
pytest==3.10.0
pytest-django==3.4.3
还有其他的安装吗?
【问题讨论】:
-
试试 python -m pytest
-
是的。让它成为一个答案。
标签: python django vagrant pytest pytest-django