httprunner安装后出现-bash: httprunner: command not found
环境:
mac os 10.14.6
python 2.7
pip 20.3.3
$ pip install httprunner
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest... pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: httprunner in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (2.5.7)
Requirement already satisfied: jinja2<3.0.0,>=2.10.3 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (2.11.2)
Requirement already satisfied: jsonschema<4.0.0,>=3.2.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (3.2.0)
Requirement already satisfied: future<0.19.0,>=0.18.1; python_version >= "2.7" and python_version < "2.8" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.18.2)
Requirement already satisfied: sentry-sdk<0.14.0,>=0.13.5 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.13.5)
Requirement already satisfied: colorlog<5.0.0,>=4.0.2 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (4.6.2)
Requirement already satisfied: colorama<0.5.0,>=0.4.1 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.4.4)
Requirement already satisfied: requests-toolbelt<0.10.0,>=0.9.1 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.9.1)
Requirement already satisfied: requests<3.0.0,>=2.22.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (2.25.1)
Requirement already satisfied: jsonpath<0.83,>=0.82 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.82)
Requirement already satisfied: enum34<2.0.0,>=1.1.6; python_version >= "2.7" and python_version < "2.8" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (1.1.10)
Requirement already satisfied: pyyaml<6.0.0,>=5.1.2 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (5.3.1)
Requirement already satisfied: filetype<2.0.0,>=1.0.5 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (1.0.7)
Requirement already satisfied: har2case<0.4.0,>=0.3.1 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from httprunner) (0.3.1)
Requirement already satisfied: MarkupSafe>=0.23 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jinja2<3.0.0,>=2.10.3->httprunner) (1.1.1)
Requirement already satisfied: pyrsistent>=0.14.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jsonschema<4.0.0,>=3.2.0->httprunner) (0.17.2)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jsonschema<4.0.0,>=3.2.0->httprunner) (2.1.1)
Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from jsonschema<4.0.0,>=3.2.0->httprunner) (18.5)
Requirement already satisfied: functools32; python_version < "3" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jsonschema<4.0.0,>=3.2.0->httprunner) (3.2.3.post2)
Requirement already satisfied: attrs>=17.4.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jsonschema<4.0.0,>=3.2.0->httprunner) (20.3.0)
Requirement already satisfied: six>=1.11.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from jsonschema<4.0.0,>=3.2.0->httprunner) (1.15.0)
Requirement already satisfied: urllib3>=1.10.0 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from sentry-sdk<0.14.0,>=0.13.5->httprunner) (1.26.2)
Requirement already satisfied: certifi in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from sentry-sdk<0.14.0,>=0.13.5->httprunner) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from requests<3.0.0,>=2.22.0->httprunner) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from requests<3.0.0,>=2.22.0->httprunner) (2.10)
Requirement already satisfied: contextlib2; python_version < "3" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.2.0->httprunner) (0.6.0.post1)
Requirement already satisfied: pathlib2; python_version < "3" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.2.0->httprunner) (2.3.5)
Requirement already satisfied: zipp>=0.5 in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.2.0->httprunner) (1.2.0)
Requirement already satisfied: configparser>=3.5; python_version < "3" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.2.0->httprunner) (4.0.2)
Requirement already satisfied: scandir; python_version < "3.5" in /Users/guanliyuan/Library/Python/2.7/lib/python/site-packages (from pathlib2; python_version < "3"->importlib-metadata; python_version < "3.8"->jsonschema<4.0.0,>=3.2.0->httprunner) (1.10.0)
cyandeMacBook-Pro:bin guanliyuan$ httprunner -V
-bash: httprunner: command not found
以上是 httprunner安装后出现-bash: httprunner: command not found 的全部内容, 来源链接: utcz.com/p/937903.html