相关疑难解决方法(0)

python -m标志的含义

-m python -m pip install <package>是什么意思?或使用升级点子时python -m pip install --upgrade pip

python pip python-3.x

14
推荐指数
7
解决办法
1万
查看次数

已安装 pytest 但在 bash 中运行 `pytest` 返回 `not found`

我正在关注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.
Run Code Online (Sandbox Code Playgroud)

pip3 freeze 输出:

pytest==3.10.0
pytest-django==3.4.3
Run Code Online (Sandbox Code Playgroud)

安装还有其他东西吗?

python django pytest vagrant pytest-django

8
推荐指数
1
解决办法
5011
查看次数

标签 统计

python ×2

django ×1

pip ×1

pytest ×1

pytest-django ×1

python-3.x ×1

vagrant ×1