Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not finding python3 #97

Open
JoshuaUrrutia opened this issue Mar 7, 2019 · 1 comment
Open

Not finding python3 #97

JoshuaUrrutia opened this issue Mar 7, 2019 · 1 comment

Comments

@JoshuaUrrutia
Copy link
Contributor

JoshuaUrrutia commented Mar 7, 2019

Describe the bug
Not able to use the cli w/ python3, even though python3 is listed as requirement

auth-session-init -t iplantc.org -u urrutia -N my_api_client 
/usr/bin/env: 'python': No such file or directory

To Reproduce

docker run --rm -it ubuntu:xenial
apt-get update 
apt-get upgrade -y 
apt-get install -y python3 curl jq python3-pip git 
git clone https://github.com/TACC-Cloud/agave-cli
echo "PATH=$PATH:$PWD:agave-cli/bin" >> ~/.bashrc
source ~/.bashrc
pip3 install agavepy
export AGAVE_JSON_PARSER=jq
auth-session-init -t iplantc.org -u urrutia -N my_api_client 

Tried:

echo "alias python=python3" >> ~/.bashrc
export python=python3

but those didn't fix the issue

@JoshuaUrrutia
Copy link
Contributor Author

ln -s /usr/bin/python3 /usr/bin/python

Fixes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant