How to build a no console executable script in python 3.5 - package

I've tried using PyInstaller but with no luck. Would appreciate some help in building a no-console exe.
EDIT
In the script I am using a phantomJS and chrome drivers. I've built a system tray application for Windows. I am trying to make an exe out of the .py. Pyinstaller gives me an error about not being able to load python35 dll

Related

Debugging ncurses application in Eclipse IDE (Linux)

I'm creating an ncurses application in the Eclipse IDE (for C/C++ developers), running on Linux Mint. I'm able to successfully launch the application in the gnome terminal from Eclipse, via an external tool configuration, as per the following post:
http://damienlearnsperl.blogspot.com/2015/03/experimenting-with-ncurses-on-linux-in.html
However, so far I've been unable to run the Eclipse debugger alongside the gnome terminal. Running the debugger within Eclipse doesn't work either, since I only see the "Error opening terminal: unknown." message, after which the application is terminated.
I've tried several suggestions found on google, but none of them seem to work, or they're related to outdated/other versions of Eclipse:
Debugging ncurses with Eclipse CDT
https://wiki.eclipse.org/CDT/User/FAQ#HOWTO_debug_applications_which_require_a_real_terminal
https://www.eclipse.org/forums/index.php/t/44886/
The "Attach to Application" option doesn't seem to work either, I'm only seeing "failure to attach to process" errors when trying to attach the debugger to a running gnome terminal.
Any suggestions?
Many thanks,
Ksawery

Remote cross-platform project in Eclipse

I would like to make a C/C++ app for OrangePi zero. As orpi zero is a pretty low power running Eclipse on it is pain.
I would prefer to run Eclipse on Windows machine and remotely build and run/debug the app on orpi. I tried to achieve this by using RSE. After setting up RSE connection I can make a remote project. Edit files but without auto-completion, showing declarations(missing headers) and so on. Also, I cannot compile or run the app.
Is there any other way than cross-compiling on Windows and deploying to remote orpi? Some way to have autocompletion and compiling directly using orpi toolchain? Or at least have auto-completion working. My biggest concern about using cross-compile toolchain is dependency hell for external libraries.
Orpi is running Armbian. Developing in Eclipse 4.9

I cannot find python35_d.lib

I have downloaded the 3.5 version of python on my windows 7 home premium computer with version 6.1 software. I wish to use a C main program with python library extensions. I have aded the path to the include folder and the library folder to the dev studio c-compiler. I am testing with the supplied test program that prints out the time but I get a compile error. While it can find Python.h, it can't find python35_d.lib. I can't either. Is it missing from the download or is this another name for a one of the libraries in the download? Thanks
Maybe a little too late, but I found a work around for the missing 'python3x_d.lib' : When installing the python with pythoninstaller.exe, choose the advanced setup options in the first command window of the installation wizard, there choose the option "download debug binaries", then the file python3x_d.lib is automatically installed.
I faced this error when trying to build opencv with python bindings

Creating an EXE from Python Script, how to bundle other exes

I am creating an EXE file from a python script using pyinstaller and I need to include the Selenium Chrome and IE executables with this exe. How can I bundle those so when someone installs my exe it also includes both of those?

Eclipse will not run C programs

I just recently installed the CDT plugin for Eclipse in Windows 8 and I'm getting the error:
"Launch failed. Binary not found."
Now I've looked into this and I have installed cygwin with gcc and set that up in Eclipse settings. I went to Window>Preferences>New C/C++ Project Wizard>Makefile Project and checked Cygwin PE Parser (and just in case I checked PE Windows Parser as well).
Then I went to Window>Preferences>Build>Environment and added my PATH variable there. I made sure to add C:\cygwin64\bin to my PATH in my system settings, and I know this is valid because I checked that location and I have successfully run gcc through the command line as well as the cygwin terminal. On top of this, if I build my project in Eclipse and then navigate to that directory outside of Eclipse and run the .exe that it creates by double-clicking on it, it also runs properly.
I'm at a loss for why Eclipse can't run it but everything else can...Any suggestions?
right click your project in eclipse "project explore" -> Run as -> Run configuration
=>select your project name then check "Main" tab, in C/C++ application file. is it point to your binary file?
E.g:
Debug/TestProj.exe

Resources