Skip to content

pgcli on linux server without internet connection #1348

Closed Answered by j-bennet
bat-manav asked this question in Q&A
Discussion options

You must be logged in to vote

@bat-manav,

It looks like you have more problems than just the dependencies. You're getting syntax errors because you're using Python 2.7, which reached end-of-life on Jan 1, 2020. As of version 3.0.0, we dropped support of Python 3.5 and older.

I don't know what version of RHEL you're using, but AFAIK, RHEL 8 ships with python 3.6. You probably have python3 and pip3 commands on your system. To check, try python3 --version and pip3 --version.

If you have python3, and it's 3.6+, you should be able to install pgcli with python3 setup.py.

If all you have is Python 2.7, and you're unable to install Python 3.6+, you could download and install pgcli==2.2.0. It's the last version that still has …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bat-manav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants