前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your vers

Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your vers

作者头像
卓越笔记
发布2023-02-18 15:25:48
3500
发布2023-02-18 15:25:48
举报
文章被收录于专栏:卓越笔记

错误日志:

代码语言:javascript
复制
C:\Users\xieboke>pip install locustio -U
Collecting locustio
  Using cached locustio-0.999.tar.gz (267 kB)
Building wheels for collected packages: locustio
  Building wheel for locustio (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'd:\program files\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"'; __file__='"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\CJTDEV~1\AppData\Local\Temp\pip-wheel-c4cvk40m'
       cwd: C:\Users\CJTDEV~1\AppData\Local\Temp\pip-install-nzjtwyrh\locustio\
  Complete output (89 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\locust
  copying locust\argument_parser.py -> build\lib\locust
  copying locust\clients.py -> build\lib\locust
  copying locust\env.py -> build\lib\locust
  copying locust\event.py -> build\lib\locust
  copying locust\exception.py -> build\lib\locust
  copying locust\log.py -> build\lib\locust
  copying locust\main.py -> build\lib\locust
  copying locust\runners.py -> build\lib\locust
  copying locust\stats.py -> build\lib\locust
  copying locust\web.py -> build\lib\locust
  copying locust\__init__.py -> build\lib\locust
  copying locust\__main__.py -> build\lib\locust
  creating build\lib\locust\contrib
  copying locust\contrib\fasthttp.py -> build\lib\locust\contrib
  copying locust\contrib\__init__.py -> build\lib\locust\contrib
  creating build\lib\locust\rpc
  copying locust\rpc\protocol.py -> build\lib\locust\rpc
  copying locust\rpc\zmqrpc.py -> build\lib\locust\rpc
  copying locust\rpc\__init__.py -> build\lib\locust\rpc
  creating build\lib\locust\test
  copying locust\test\mock_locustfile.py -> build\lib\locust\test
  copying locust\test\mock_logging.py -> build\lib\locust\test
  copying locust\test\testcases.py -> build\lib\locust\test
  copying locust\test\test_client.py -> build\lib\locust\test
  copying locust\test\test_fasthttp.py -> build\lib\locust\test
  copying locust\test\test_locust_class.py -> build\lib\locust\test
  copying locust\test\test_log.py -> build\lib\locust\test
  copying locust\test\test_main.py -> build\lib\locust\test
  copying locust\test\test_old_wait_api.py -> build\lib\locust\test
  copying locust\test\test_parser.py -> build\lib\locust\test
  copying locust\test\test_runners.py -> build\lib\locust\test
  copying locust\test\test_sequential_taskset.py -> build\lib\locust\test
  copying locust\test\test_stats.py -> build\lib\locust\test
  copying locust\test\test_tags.py -> build\lib\locust\test
  copying locust\test\test_taskratio.py -> build\lib\locust\test
  copying locust\test\test_util.py -> build\lib\locust\test
  copying locust\test\test_wait_time.py -> build\lib\locust\test
  copying locust\test\test_web.py -> build\lib\locust\test
  copying locust\test\test_zmqrpc.py -> build\lib\locust\test
  copying locust\test\util.py -> build\lib\locust\test
  copying locust\test\__init__.py -> build\lib\locust\test
  creating build\lib\locust\user
  copying locust\user\inspectuser.py -> build\lib\locust\user
  copying locust\user\sequential_taskset.py -> build\lib\locust\user
  copying locust\user\task.py -> build\lib\locust\user
  copying locust\user\users.py -> build\lib\locust\user
  copying locust\user\wait_time.py -> build\lib\locust\user
  copying locust\user\__init__.py -> build\lib\locust\user
  creating build\lib\locust\util
  copying locust\util\cache.py -> build\lib\locust\util
  copying locust\util\deprecation.py -> build\lib\locust\util
  copying locust\util\exception_handler.py -> build\lib\locust\util
  copying locust\util\rounding.py -> build\lib\locust\util
  copying locust\util\timespan.py -> build\lib\locust\util
  copying locust\util\__init__.py -> build\lib\locust\util
  running egg_info
  writing locustio.egg-info\PKG-INFO
  writing dependency_links to locustio.egg-info\dependency_links.txt
  writing entry points to locustio.egg-info\entry_points.txt
  writing top-level names to locustio.egg-info\top_level.txt
  reading manifest file 'locustio.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'locustio.egg-info\SOURCES.txt'
  creating build\lib\locust\static
  copying locust\static\chart.js -> build\lib\locust\static
  copying locust\static\echarts.common.min.js -> build\lib\locust\static
  copying locust\static\jquery-1.11.3.min.js -> build\lib\locust\static
  copying locust\static\jquery.jqote2.min.js -> build\lib\locust\static
  copying locust\static\jquery.tools.min.js -> build\lib\locust\static
  copying locust\static\locust.js -> build\lib\locust\static
  copying locust\static\style.css -> build\lib\locust\static
  copying locust\static\vintage.js -> build\lib\locust\static
  creating build\lib\locust\static\img
  copying locust\static\img\favicon.ico -> build\lib\locust\static\img
  copying locust\static\img\logo.png -> build\lib\locust\static\img
  copying locust\static\img\top_bg.png -> build\lib\locust\static\img
  creating build\lib\locust\templates
  copying locust\templates\index.html -> build\lib\locust\templates
  installing to build\bdist.win-amd64\wheel
  running install

  **** Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your version to 0.14.6 if you dont want to update to 1.0) ****

  ----------------------------------------
  ERROR: Failed building wheel for locustio
  Running setup.py clean for locustio
Failed to build locustio
Installing collected packages: locustio
  Attempting uninstall: locustio
    Found existing installation: locustio 0.8.1
    Uninstalling locustio-0.8.1:
      Successfully uninstalled locustio-0.8.1
    Running setup.py install for locustio ... error
    ERROR: Command errored out with exit status 1:
     command: 'd:\program files\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"'; __file__='"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\CJTDEV~1\AppData\Local\Temp\pip-record-bor1ayrr\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\program files\python36\Include\locustio'
         cwd: C:\Users\CJTDEV~1\AppData\Local\Temp\pip-install-nzjtwyrh\locustio\
    Complete output (4 lines):
    running install

    **** Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your version to 0.14.6 if you dont want to update to 1.0) ****

    ----------------------------------------
  Rolling back uninstall of locustio
  Moving to d:\program files\python36\lib\site-packages\locust\
   from d:\program files\python36\lib\site-packages\~ocust
  Moving to d:\program files\python36\lib\site-packages\locustio-0.8.1-py3.6.egg-info
   from d:\program files\python36\lib\site-packages\~ocustio-0.8.1-py3.6.egg-info
  Moving to d:\program files\python36\scripts\locust-script.py
   from C:\Users\CJTDEV~1\AppData\Local\Temp\pip-uninstall-zt7khipk\locust-script.py
  Moving to d:\program files\python36\scripts\locust.exe
   from C:\Users\CJTDEV~1\AppData\Local\Temp\pip-uninstall-zt7khipk\locust.exe
ERROR: Command errored out with exit status 1: 'd:\program files\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"'; __file__='"'"'C:\\Users\\CJTDEV~1\\AppData\\Local\\Temp\\pip-install-nzjtwyrh\\locustio\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\CJTDEV~1\AppData\Local\Temp\pip-record-bor1ayrr\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\program files\python36\Include\locustio' Check the logs for full command output.

解决办法:

代码语言:javascript
复制
pip3 install -i https://pypi.douban.com/simple/ locustio==0.14.6
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020-9-16 1,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档