Python installing package with pip failed - python-3.x

I got this error message when I was installing python-binance.
Error message is in the link below please check
https://docs.google.com/document/d/1VE0Ux_ji9RoK0NIrPD3BSbs60sTaxThk3boxsvh051c/edit
Anyone knows how to fix it?

You're trying to install email from PyPI which is a very old outdated Python2-only package.
email is now a module in the stdlib. You don't need to install it, it must always be available. Just import and use.

You might have outdated setuptools, try:
pip install --upgrade setuptools
Then continue trying to install the module you want.
Usually these kinds of problems can be solved by googling the error: in this case you should try searching with "python setup.py egg_info".
Also, try to give a more descriptive title for your problems in the future. "Python installing package with pip failed" is too broad.

Thanks guys I already figured out what error message means, I downloaded twisted from third party website and installed it and it worked.

Related

How to fix ERROR: Command errored out with exit status 1: while installing pygame?

Screenshot of the error
I was trying to install pygame but I had gotten an error. I found out some people had the same problem with me but I could not find a way to solve it. I would be grateful if anyone could give an explanation on how to solve it. (I am quite new to python coding)
You are trying to install the latest version of pygame with a non-compatible version of python. Your current python version is 3.9, try installing an earlier version of python and a compatible version of pygame:
pip install python==3.8.3
pip install pygame==2.0.0.dev6
Should work.

cvxpy.error.SolverError: The solver CBC is not installed in windows 10 python?

I have tried to install cvxpy and cvxopt both packages by using pip command the package was installed successfully but while running my code i'm getting error like CBC not installed inside "C:\Python\Python36\lib\site-packages\cvxpy\problems\problem.py". I tried with many solution but not working could anyone please help me. Thanks in advance.
I don't have enough enough reputation to add comments, so I will post this as an answer.
CBC requires cylp to be installed.
try
import cylp
if it throws error, install it using
pip install cylp
go through this link for more details
https://github.com/cvxgrp/cvxpy/issues/687

How to install audiodiff?

So i am trying to install audiodiff via anaconda prompt. The error i keep getting is related to mutagen. But i have installed mutagenwrapper and mutagen and its their installation that i think is causing the issue has anyone else had that issue and solved it?
The error I get is command "python setup.py egg info" failed with error code 1 in C:\Users\TEST\AppData\Local\Temp\pip-install-0rsg6wwr\mutagen\
However if i try to install mutagen it just says requirement already satisfied.
It is only supported in python 2.7

pypy3 import psycopg2 error (undefined symbol: PyCoder_Encoder)

I installed psycopg2 to pypy3(Python3.5.3) by the following code on Ubuntu16.04:
pypy3 -m pip install psycopg2
However, I got some errors:
Error:b'You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.\n'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-epd368s6/psycopg2
And I found the solution in "You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application".
My computer has already installed Postgresql9.5, so I used these commands to install:
sudo apt-get install libpq-dev
pypy3 -m pip install psycopg2
No error was reported, but when I tried "import psycopg2", I got ImportError:
enter image description here
I found the same error in "pypy3 import psycopg2 error (PyCodec_Encoder)", but I did not found a solution.
Do someone know how to fix it?
The PyPy issue you pointed to contains the answer "Someone will have to implement the missing function (and the other missing PyCodec_* functions. Currently we only implement very few in codec.py. The implementation is quite straight-forward based on the pattern in the functions implemented, the harder part is writing tests.
There is the psycopg2cffi package, which should work on PyPy and will be faster. Perhaps give it a try and comment here if it serves your needs.
psycopg2-binary works with latest version of PyPy 3.6 (nightly build from 2020-01-23) as it contains the PyCodec_Encoder and PyCodec_Decoder implementations.

Python PIP causes error

Hey guys i've got a problem with installing PyOpenGL via pip. It says that, there's an error during running some setup.py... but idk what that means... I have tried to install pyinstaller as well... but the same issue occurs. I'm using python 3.6.3... It worked on 3.5, but then either cx_freeze or pyinstaller doesn't work at all...
It only happens everytime when pip has to use some setup.py
Alright, I found the solution... In Python36-32\Scripts directory I opened console and passed into it the following command:
easy_install pyopengl
And this hopefully worked. I'll leave this post in case if somebody else would have the same problem.
Happy coding!

Resources