GithubHelp home page GithubHelp logo

Comments (12)

rahulrajaram avatar rahulrajaram commented on May 29, 2024

@dunhampa , can you confirm the following are the troubleshooting steps you have alluded to in the Issue title?

brew install zlib openssl readline
CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib"

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

@rahulrajaram yes, I just reconfirmed that is the specific commands I ran for troubleshooting

I am wondering if I am having issues with multiple python versions/installs.

Is my anaconda3 install causing a conflict?:

(base) Peters-MacBook-Pro-4:~ peterdunham$ which python
/Users/peterdunham/anaconda3/bin/python
(base) Peters-MacBook-Pro-4:~ peterdunham$

Thanks

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

Another thought - do I need install pyenv as a prereq?

from aws-elastic-beanstalk-cli-setup.

rahulrajaram avatar rahulrajaram commented on May 29, 2024

@dunhampa ,

The answer to both your questions is "no".

The core of the problem is certainly that OpenSSL cannot be found during Python installation (despite it being installed). Can you tell me what the output of the following command is?

brew --prefix openssl

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

@rahulrajaram thanks for replies

output of brew --prefix openssl

is

/usr/local/opt/openssl

from aws-elastic-beanstalk-cli-setup.

rahulrajaram avatar rahulrajaram commented on May 29, 2024

@dunhampa, thanks.

Now I am not sure what the problem is.

In the meantime, you can use the Python associated with Conda and run the following to get around your problem:

pip install virtualenv
</path/to/some/python/on/your/computer> scripts/ebcli_installer.py

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

@rahulrajaram

ase) Peters-MacBook-Pro-4:~ peterdunham$ pip install virtualenv
Requirement already satisfied: virtualenv in ./.local/lib/python3.7/site-packages (16.7.2)
(base) Peters-MacBook-Pro-4:~ peterdunham$ /usr/local/bin/python3 ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py 

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

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

I got a successful install when running

pip**3** install virtualenv

I followed instructions to add to path - but now getting another error

`(base) Peters-MacBook-Pro-4:~ peterdunham$ source ~/.bash_profile

(base) Peters-MacBook-Pro-4:~ peterdunham$ eb --version
Traceback (most recent call last):
File "/Users/peterdunham/.ebcli-virtual-env/bin/eb", line 6, in
from ebcli.core.ebcore import main
ModuleNotFoundError: No module named 'ebcli'
`

Another piece of info is I had another active install in Python 2:

(base) Peters-MacBook-Pro-4:~ peterdunham$ eb --version EB CLI 3.14.6 (Python 2.7.1)

from aws-elastic-beanstalk-cli-setup.

rahulrajaram avatar rahulrajaram commented on May 29, 2024

Is base a virtual env? If so, can you retry eb --version after deactivating base?

from aws-elastic-beanstalk-cli-setup.

dunhampa avatar dunhampa commented on May 29, 2024

base is not a virtual env. I must have installed at system level at some point.

I tried to install within a virtual environment and get the following error:

ERROR: This script cannot be executed inside a virtual environment.

from aws-elastic-beanstalk-cli-setup.

rahulrajaram avatar rahulrajaram commented on May 29, 2024

I must have installed at system level at some point.

Can you clarify what exactly it is that you are talking about?

I tried to install within a virtual environment and get the following error:

This is expected behaviour. You are expected to not already be inside a vrtualenv when you run the ebcli_installer.

from aws-elastic-beanstalk-cli-setup.

NoumanAhmad448 avatar NoumanAhmad448 commented on May 29, 2024

In case someone is having this issue. Please refer to my comment here

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.