Comments (12)
@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.
@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.
Another thought - do I need install pyenv as a prereq?
from aws-elastic-beanstalk-cli-setup.
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.
@rahulrajaram thanks for replies
output of brew --prefix openssl
is
/usr/local/opt/openssl
from aws-elastic-beanstalk-cli-setup.
@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.
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.
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.
Is base
a virtual env? If so, can you retry eb --version
after deactivating base
?
from aws-elastic-beanstalk-cli-setup.
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.
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.
In case someone is having this issue. Please refer to my comment here
from aws-elastic-beanstalk-cli-setup.
Related Issues (20)
- Error check before upload!!
- cannot install::: ERROR: No matching distribution found for botocore<1.24.0,>1.23.41 (from awsebcli) HOT 4
- Running the installer doesn't tell me how to set PATH for macOS, contrally to what README tells me HOT 2
- Official docker image? HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: '/home/mbrant/.ebcli-virtual-env/bin/activate_this.py' HOT 1
- I would like to know how to uninstall the aws eb cli. HOT 2
- /bin/sh: /usr/local/bin/virtualenv: /usr/bin/python: bad interpreter: No such file or directory HOT 2
- SyntaxError: invalid syntax On Running eb command. HOT 4
- AWS CLI with SSO not working
- C:\Users\karth>python --version
- virtualenv could not find python after successful install HOT 3
- Error when installing HOT 9
- Colorama dependency not mentioned or handled
- eb abort and eb terminate contradiction
- eb init failing HOT 1
- SyntaxError: future feature annotations is not defined
- EB CLI Installer error: "Getting requirements to build wheel ... error" HOT 20
- Recommend pipx for a simple install process HOT 3
- Syntax Error when running any command HOT 2
- Compatibility with Python 3.12, ModuleNotFoundError: No module named 'imp' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-elastic-beanstalk-cli-setup.