Python Forum

Full Version: About PyQt5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I haven't solved this problem in about a week. Can you please help me? Picture shows problem.
I tried a lot of solutions, but I didn't get any results.


resimag.com/p1/369c3b4aa80.png
That's not a link to an image.

Post your code and the error message.
(venv) E:\Python Derslerim\venv>pip install PyQt5
Collecting PyQt5
Using cached https://files.pythonhosted.org/packages/...4908ec019a
43a970d9eec2a70888b4/PyQt5-5.14.1-5.14.0-cp35.cp36.cp37.cp38-none-win32.whl
Collecting PyQt5-sip<13,>=12.7 (from PyQt5)
Using cached https://files.pythonhosted.org/packages/...176d1528a1
bf6d874bfe22bb2d283c/PyQt5_sip-12.7.0.tar.gz
Installing collected packages: PyQt5-sip, PyQt5
Running setup.py install for PyQt5-sip … \ Subprocess output does not appear to be encoded as
cp1254
error
Complete output from command E:\Yeni\venv\Scripts\python.exe -u -c “import setuptools, tokenize;_
file_=‘C:\Users\SaLoooooo\AppData\Local\Temp\pip-install-mfkn3y39\PyQt5-sip\setup.py’;f=get
attr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(cod
e, file, ‘exec’))” install --record C:\Users\SaLoooooo\AppData\Local\Temp\pip-record-640rh5j1\ins
tall-record.txt --single-version-externally-managed --compile --install-headers E:\Yeni\venv\include
site\python3.8\PyQt5-sip:
running install
running build
running build_ext
building ‘PyQt5.sip’ extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG
/MD -IE:\Yeni\venv\include “-IE:\Python 3.x\include” “-IE:\Python 3.x\include” “-IC:\Program Files (
x86)\Microsoft Visual Studio 14.0\VC\INCLUDE” “-IC:\Program Files (x86)\Microsoft Visual Studio 14.0
VC\ATLMFC\INCLUDE” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt” /Tcapiversion
s.c /Fobuild\temp.win32-3.8\Release\apiversions.obj
apiversions.c
e:\python 3.x\include\pyconfig.h(206): fatal error C1083: i‡erme dosyas\x8d a‡\x8dlam\x8dyor: ‘ba
setsd.h’: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe’ failed wi
th exit status 2

----------------------------------------
Command "E:\Yeni\venv\Scripts\python.exe -u -c “import setuptools, tokenize;file=‘C:\Users\SaLo
ooooo\AppData\Local\Temp\pip-install-mfkn3y39\PyQt5-sip\setup.py’;f=getattr(tokenize, ‘open’, o
pen)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” i
nstall --record C:\Users\SaLoooooo\AppData\Local\Temp\pip-record-640rh5j1\install-record.txt --single
-version-externally-managed --compile --install-headers E:\Yeni\venv\include\site\python3.8\PyQt5-sip
" failed with error code 1 in C:\Users\SaLoooooo\AppData\Local\Temp\pip-install-mfkn3y39\PyQt5-sip\

İmage
Okay that was next to useless --- copy/paste your program into the window and wrap it in [.python]Code Goes Here[./python] but remove the "."
@Denni - OP is trying to install PyQt5, I doubt they have a single line of python code yet
Ah okay I just find that odd as both Python and PyQt5 were a breeze to install for me