V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
asensio
V2EX  ›  Python

httprunner 安装后出现-bash: httprunner: command not found

  •  
  •   asensio · 2021-01-05 17:26:05 +08:00 · 1009 次点击
    这是一个创建于 1426 天前的主题,其中的信息可能已经有所发展或是发生改变。

    环境: 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

    1 条回复    2021-01-05 17:34:32 +08:00
    lsaiah
        1
    lsaiah  
       2021-01-05 17:34:32 +08:00
    环境变量
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6077 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 03:29 · PVG 11:29 · LAX 19:29 · JFK 22:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.