I'm trying to compile a pyqt5 application following the pyqtdeploy documentation but no success.
When running build-demo.py, it produces an error when qt is been configured.
I have downloaded all the correct and required tarballs for demo.
Also, if i compile qt separately, it works just fine following this https://www.ics.com/blog/how-compile-qt-source-code-linux.
Running this,
python3 build-demo.py --verbose
I get the following error:
pyqtdeploy-sysroot: Execution failed: returned exit code 3
I wonder if I am missing any command configure options or libraries.
Any help will be greatly Appreciated
I'm using python 3 on ubuntu 18
Related
I am trying to compile a c++ code in an conan enviroment, here are details:
Ubuntu 18.04 WSL x86-64
Windowns 10 x64
python 3.7.5
protoc 3.19.4
The project is located at /mnt/c/project
The build directory is located at /mnt/c/build
The build occurs without any errors but when I try to compile with "ninja" it throws an error related to protoc-gen-nanopb, as you can see attached image.
I tried to install a new protobuf from its c++ source, i added the LD_LIBRARY_PATH that was missing, and I have also tried to clean everything and erase all the files and build again. Everything seems to fail. I believe it's related to compatibility between protobuf and my python version, but I am not sure.
Could someone help me understand how to solve it? I am new to ubuntu and stackoverflow and i am sorry if some information is missing. In this case, just ask.
Error 127
I want to use Xcode to create python applications and I am testing it and every time I want to run the project I get the following error:
There is a problem launching using posix_spawn (error code: 8).
And Xcode also said build succeeded.
what can I do to resolve this problem?
try change executable interpreter to /usr/bin/pythonw
Please read before marking as duplicate:
I am trying to install scrapy with pip but it gives me following error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Admin\AppData\Local\Temp\pip-install-qrebbk1j\cffi\
I have tried every solution available on stackoverflow and nothing solves my error.
Yes,my pip is updated and setup_tools is also updated.
Everything was working fine and I did install other packages today itself but when I tried to install scrapy it gave this error and I have no idea what else i can do I tried everything I could do.
I followed every step on this answer
However, nothing works, please help.
I have finally resolved the issue, as it happens the package I was trying to install needs windows sdk 8.1 which got installed after installing the sdk.
However now this also installs a package called twisted for dependency I guess, which has some components written in C thus it needs a C compiler. which gave me this error
error: Setup script exited with error: command 'cl.exe' failed: No such file or directory
Hence, I could download a vs c++ compiler and it would solve the error. But a simpler solution would be downloading an already compiled version of the required packages which are mostly available on this site for windows. Although this is not official distribution so use it at your own risk.
I was trying to build opencv 3.2.0 from source for python3.5 in my ubuntu 16.04. When I cmake the targets it showed GTK+ 2.X yes. But after everything is completed successfully I am still getting error for cv2.imshow saying "function not implemented. Please build with GTK+ 2.X or carbon support".
I tried possible solution with QT5 as well. Nothing did work. If possible kindly help.
I have Ubuntu v.14.04 installed on my laptop. I downloaded strace-4.15 from here. I successfully configure the package through .\configure command but when i apply make command it gives following error in the pathtrace.c. error is shown in the image below.
Kindly help me to remove this error.
Thankyou.