UserWarning: The psycopg2 wheel package will be renamed from release 2.8
See original GitHub issueDescription
The psycopg2 package display’s a user warning when calling pgcli. They have a blog post describing why this warning is displayed: http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/.
Warning Message
UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
Your environment
- pgcli is installed in a virtual environment in my home .local folder.
- Symlink pgcli in my .local/bin folder to the virtual instance of pgcli.
System Information
-
Please provide your OS and version information.
Ubuntu 16.04.3 LTS (xenial, x86_64)
-
Please provide your CLI version.
pgcli Version: 1.8.2
-
What is the output of
pip freeze
command.
cli-helpers==1.0.1
click==6.7
configobj==5.0.6
humanize==0.5.1
pgcli==1.8.2
pgspecial==1.9.0
prompt-toolkit==1.0.15
psycopg2==2.7.4
Pygments==2.2.0
setproctitle==1.1.10
six==1.11.0
sqlparse==0.2.4
tabulate==0.8.2
terminaltables==3.1.0
wcwidth==0.1.7
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (4 by maintainers)
Top Results From Across the Web
Python Program Won't Run - psycopg2 rename warning
py:144 : UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip ......
Read more >Solving the problems with wheel packages - PostgreSQL
warning: The psycopg2 wheel package will be renamed from release 2.8; to keep using the binary package please install 'psycopg2-binary' instead.
Read more >Fixing psycopg2 Warning for Flask-SQLAlchemy - Medium
UserWarning: The psycopg2 wheel package will be renamed from release 2.8 ; in order to keep installing from binary please use “pip install ......
Read more >psycopg2-binary - PyPI
Psycopg is the most popular PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python ......
Read more >The psycopg2 wheel package will be renamed from release 2.8
7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this problem might be coz of you did not migrate your database -$ ./manage.py migrate (for djnago)
pip install psycopg2-binary