GithubHelp home page GithubHelp logo

Install fails on x64 Windows 10: `ModuleNotFoundError: No module named 'virtualenv' Exiting due to failure` about aws-elastic-beanstalk-cli-setup HOT 4 OPEN

aws avatar aws commented on May 29, 2024 10
Install fails on x64 Windows 10: `ModuleNotFoundError: No module named 'virtualenv' Exiting due to failure`

from aws-elastic-beanstalk-cli-setup.

Comments (4)

rahulrajaram avatar rahulrajaram commented on May 29, 2024 62

Hi @phillhocking ,

Thanks for reaching out. This appears to be a bug in how virtualenv is installed through pip install --target on some Windows machines. Until we fix this bug, you can get around it by doing:

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

Let me know if this doesn't work.

from aws-elastic-beanstalk-cli-setup.

Diceps avatar Diceps commented on May 29, 2024 21

Make sure you run pip install virtualenv as administrator or sudo so that python won't install the packages to /site-packages which virtualenv won't get recognized in PATH.

Only helped me by installing virtualenv by running cmd as administrator which installs the packages in /dist-packages. Same for linux with sudo.

from aws-elastic-beanstalk-cli-setup.

LahaLuhem avatar LahaLuhem commented on May 29, 2024

Hi @phillhocking ,

Thanks for reaching out. This appears to be a bug in how virtualenv is installed through pip install --target on some Windows machines. Until we fix this bug, you can get around it by doing:

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

Let me know if this doesn't work.

I still need to use the --target flag though.

from aws-elastic-beanstalk-cli-setup.

kaynetpc avatar kaynetpc commented on May 29, 2024

C:\Python311\python.exe: can't open file 'C:\Users\kayode\.aws-elastic-beanstalk-cli-setupscriptsebcli_installer.py': [Errno 2] No such file or directory

from aws-elastic-beanstalk-cli-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.