PyQt4 Installation for windows - python-3.x

I have downloaded PyQt4 for Windows7 from here: https://riverbankcomputing.com/software/pyqt/download
After unzipping the file I've run the command
python configure-ng.py
Unfortunately Iget the following error:
Error: Make sure you have a working Qt qmake on your PATH
How can i fix it?

Related

PyInstaller to executable file in lunx, giving : error running upx -v?

I tried to get executable file using PyInstaller on Linux terminal but its throwing error running upx -v. I tried with both .py and .spec file but same error
Same process i tried on windows its worked fine.
I am using :
1. Python : 3.5.7
2. PyInstaller : 3.5.
For more details pleas find check below image
I used below command and its worked
pyinstaller myfile.py --upx-dir=..\upx391w -y --onefile

how can i import win32com module in webcompiler (ide.goorm.io) in linux develop envilonment,

import error in webcomfiler Goorm Linux Envirenment.
I find python library directory and mv win32com folder.(https://sourceforge.net/projects/pywin32/)-unzipfile
and excute command_ python setup.py
but Just show error massage like this
Just download zipfileenter image description here
but when i excute installer file win32com in windows envirenment,there is no problem.
how can i solve this problem?
pywin32 is a package of extension modules for accessing Windows C and COM APIs in Windows Python.
You can't install it in Linux Python.

Unable to import Libraries even though Installed in Anaconda on Pycharm

I am using Ubuntu 18.10(dual Boot win10), I have installed anaconda (conda version- 4.6.7) on ubuntu. After this Installation I installed Pycharm via snap on Command Prompt. Since Pycharm(version - 2018.3.5) didnt Detect my python Location automatically I set the python Interpreter via
Adding Location ->System Interpreter (As I didn't want any Venv) -> Path
But when I try to import opencv in Pycharm it says
ModuleNotFoundError: No module named 'cv2'
Python3.6 in Anaconda Bin is shown to which I have linked in Pycharm (I have also tried other Python files there as well but no luck)
When I run in Terminal: python3 -c 'import sys; print(sys.path)'
It shows:
['', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6
/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/local
/lib/python3.6/dist-packages/setuptools-39.1.0-py3.6.egg', '/usr/lib`/python3
/dist-packages']
So could anyone help me out in this?? Thank You in Advance!!
Edit 1:
I am also unable to access any of the libraries from terminal Itself. So Could anyone help me with that as well. Should I export path of this Python in Anaconda bin folder to bashrc file in Ubuntu?
Edit 2:
The libraries affected is not just opencv. There are few other Libraries like Portaudio which are affected as well along with Opencv

FatalError failed to execute script. PyQt5

I know that questions have already been raised on this topic, but I believe that all decisions were strictly individual. The essence of the problem:
There is a calculator.py script and a kalkulator.py These files are in the same directory, the calculator file is executable, this is the file that I convert into an EXE using PyInstaller. Inside the file, I import several PyQt5 libraries, and the second file is Python: from kalkulator import *
The second file kalkulator.py contains the GUI of the program created with QtDesigner
When i run the command pyinstaller --onefile --debug calculator.py everything goes fine.
But when I run the EXE program file in debug mode, I see the following error:
The photo shows that the following error occurs.
"DLL Load Failed: The specified procedure could not be found."
I can assume that the problem is that when assembling, PyInstaller does not see the file kalkulator.py it contains a graphical interface.
What can you say about this problem, how do you think you can solve it?
I use:
Python 3.5
PyQt5
PyInstaller 3.3.1
I managed to solve my problem! I changed the version of Python 3.5.0 to 3.6.0, and also reinstalled PyQt5.

unable to run exe file generated from pyinstaller using python windows app developed in pyqt4

I developed an windows application using pyqt4 in anaconda env which has python 3.5 my os is windows 10.
when I tried converting into exe file using pyinstaller it is generating exe file in dist folder but when I try to run the exe file its throwing a msg box showing "Fatal error:main.py returned -1".
While running the pyinstaller command itself am getting some warnings regarding cp.win64_amd but I installed all the necessities.
your help is most appreciated.

Resources