![]() It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 如果安装pgcli时报错报如下错误 ERROR: Cannot uninstall 'configobj'. ![]() TypeError: find_packages() got an unexpected keyword argument 'include'Ĭommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-WG587N/Pygments/ 如果安装pgcli时报错报如下错误 Traceback (most recent call last):įile "/tmp/pip-build-WG587N/Pygments/setup.py", line 38, in Yum install gcc python-devel postgresql-devel -y Psql -U postgres -c "CREATE DATABASE postgres OWNER admin " 连接数据库,创建用户 psql -U postgres -c "CREATE USER admin WITH PASSWORD ' Star*1234' " Sed -i -e "s#local all all peer#local all all trust#g" /var/lib/pgsql/data/pg_hba.conf 修改配置 sed -i -e "s/#listen_addresses = 'localhost'/listen_addresses='*'/g" /var/lib/pgsql/data/nf 初始化postgresql数据库 service postgresql initdb Centos, RHEL etc) sudo yum install python-pip Pgcli uses psycopg to talk to. 使用 1.Sed -i -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/configĬurl -o /etc//CentOS-Base.repo CentOS 7 yum install postgresql14-server postgresql-14-setup initdb. Mint etc or sudo yum install python-pip RHEL, Centos, Fedora etc. ssh-tunnel TEXT Open an SSH tunnel to the given address and It is a soft fork of pgcli, and will hopefully one day be even less of a fork. warn Warn before running a destructive query. The result is wider than the terminal width. auto-vertical-output Automatically switch to vertical output mode if l, -list list available databases, then exit. prompt-dsn TEXT Prompt format for connections using DSN aliases less-chatty Skip intro on startup and goodbye on exit. row-limit INTEGER Set threshold for row limit prompt. ![]() list-dsn list of DSN configured into the D, -dsn TEXT Use DSN configured into the section d, -dbname TEXT database name to connect to. single-connection Do not use a separate connection for completions. w, -no-password Never prompt for password. ![]() u, -user TEXT Username to connect to the postgres database. U, -username TEXT Username to connect to the postgres database. p, -port INTEGER Port number at which the postgres instance is h, -host TEXT Host address of the postgres database. Installing collected packages: pip, setuptools, argparse, wheel Homepage Repository PyPI Python Keywords database, postgres, postgresql, psql, python License BSD-3-Clause Install pip install pgcli3.4.1 Documentation We stand with Ukraine Ukrainian people are fighting for their country. With auto-completion and syntax highlighting. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. Then you can install pgcli: sudo pip install pgcli agencia curitiba mei. tmp/tmpEAjwcs/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. How to Install and Use FFmpeg on CentOS 7 Linuxize apt - How can I install. Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/ ![]()
0 Comments
Leave a Reply. |