1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WindowsでEB CLIのインストールをしようとしたときにエラーになった

Posted at

エラー内容

このチュートリアルにあるGithubページからaws-elastic-beanstalk-cli-setupをクローンし、READMEに書いてあるとおり、以下のコマンドをコマンドプロンプトで実行したところ、

python .\aws-elastic-beanstalk-cli-setup\scripts\ebcli_installer.py

以下のエラーが出た。

ERROR: Could not find and "virtualenv" installed. Ensurevirtualenv is installed and that it is in PATH before executingthis script.

aws-elastic-beanstalk-cli-setupのGithubページのREADMEのTroubleShootingに以下のように書いてあったので、コマンドを順番に実行したところ、

If you encounter an error with the message "No module named 'virtualenv'", use the following commands to install virtualenv and the EB CLI:

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

以下のエラーが出た。

WARNING: Failed to write executable - trying to use .deleteme logic (以下省略)

解決策

管理者権限でコマンドプロンプトを開いてからコマンド実行した。

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

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?