gpt4 book ai didi

python-3.x - 即使在为 AWS EBCLI 成功安装虚拟环境后,ModuleNotFoundError : No module named 'virtualenv' Exiting due to failure,

转载 作者:行者123 更新时间:2023-12-04 15:17:20 28 4
gpt4 key购买 nike

我已经安装了 AWS EB cli 并且我正在尝试使用下面的“$ .\aws-elastic-beanstalk-cli-setup\scripts\bundled_installer”运行捆绑安装程序是我不确定是否解决它的错误。

1. Installing virtualenv
************************
Collecting virtualenv
Using cached https://files.pythonhosted.org/packages/ca/ee/8375c01412abe6ff462ec80970e6bb1c4308724d4366d7519627c98691ab/virtualenv-16.6.0-py2.py3-none-any.whl
Installing collected packages: virtualenv
Successfully installed virtualenv-16.6.0

==============================================
II. Creating self-contained EBCLI installation
==============================================
Installing the EBCLI in C:\Users\xxcsds\.ebcli-virtual-env

******************************************
1. Creating exclusive virtualenv for EBCLI
******************************************

> Traceback (most recent call last): File
> "c:\users\xxcsds\appdata\local\programs\python\python37\lib\runpy.py",
> line 193, in _run_module_as_main
> "__main__", mod_spec) File "c:\users\xxcsds\appdata\local\programs\python\python37\lib\runpy.py",
> line 85, in _run_code
> exec(code, run_globals) File "C:\aws-elastic-beanstalk-cli-setup\scripts\virtualenv\bin\virtualenv.exe\__main__.py",
> line 5, in <module> ModuleNotFoundError: No module named 'virtualenv'
> Exiting due to failure

最佳答案

这似乎是 AWS EBCLI 安装方式的错误

https://github.com/aws/aws-elastic-beanstalk-cli-setup/issues/19

使用以下命令

pip uninstall -y virtualenv
pip install virtualenv
python .\aws-elastic-beanstalk-cli-setup\scripts\ebcli_installer.py

关于python-3.x - 即使在为 AWS EBCLI 成功安装虚拟环境后,ModuleNotFoundError : No module named 'virtualenv' Exiting due to failure,,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56153387/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com