question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UserWarning: The psycopg2 wheel package will be renamed from release 2.8

See original GitHub issue

Description

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:closed
  • Created 6 years ago
  • Comments:22 (4 by maintainers)

github_iconTop GitHub Comments

43reactions
Navkant007commented, Jul 11, 2018

this problem might be coz of you did not migrate your database -$ ./manage.py migrate (for djnago)

24reactions
granaderoscommented, Jun 20, 2018

pip install psycopg2-binary

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found