using Xcode 10 for python, gets a launch error - python-3.x

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

Related

pyqtdeploy: Fails when configuring qt

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

boost 1.66.0 msvc-14.1 error

I'm trying to compile boost 1.66.0 on my Windows machine. I've got Visual Studio 2017 (Community) installed as my IDE and the 14.1 compiler definitely works. However, if I try to invoke this inside any of the VC2017 native command prompts
.\bootstrap
.\b2 variant=debug,release link=shared,static threading=single,multi address-model=64 toolset=msvc-14.1
I get plenty of the following errors:
'cl' is not recognized as an internal or external command, operable
program or batch file
If I change the toolset to msvc-14.0 everything works fine. I've also compiled boost 1.65.1 with msvc-14.1 sucessfully. However, there have been a number of Visual Studio updates since then.
Edit: I've tried compiling boost 1.65.1 again with the most recent compiler version (19.12.25834) and I get the same issue now. Calling "cl" manually inside the "x64 Native Tools Command Prompt for VS 2017" works fine though.
My solution was to:
Delete "C:\Users\'username'\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd"
Build again
My assumtion of reason: Boost makes a temporary "cmd" file which might be from an old build that did not support "msvc-14.1". The file is not rebuilt/deleted.
Background:
I had the same issue with one of my two development machines, both very similar (Windows 7) and updated with VC2017.3. The one working complained about the "Unknown version" (_MSC_VER=1911), but completed the building. The failing one had the "cl is not recognized" error. When looking at the point of failure it explicitly said that it was calling "C:\Users\'username'\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd".
I did a compare at both machines and found that the failing one did not include setting __VSCMD_PREINIT_VCToolsVersion=14.12.25827. There might have been other differences but this one was for sure.
I assumed that I was missing some SW packages or environment settings, but found it strange that the file was not deleted when doing a "b2.exe --toolset=msvc-14.1 --clean-all".
My solution was to delete the temporary cmd file - allowing it to be rebuilt.
After manually deleting "c:\Users\'username'\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd", the building worked fine (except for the 1.65.1 complains about the version _MSC_VER=1911).

VB.Net development in Ubuntu - Build error in Monodevelop

I want to start coding in VB.Net but I have a Linux machine ATM i don't want to switch to Windows.
I installed MonoDevelop on my Ubuntu 16.04 by following the steps from their page: http://www.monodevelop.com/download/linux/. Everything is fine until I try to run the program I get the following error:
/home/user/Projects/Project/Project/Project.vbproj: Error: Target named 'Build' not found in the project.
I searched around for a solution but didn't find any. Didn't mess with any of the settings just created the project and tried to compile. Is there anything extra i had to install/set maybe?
Thanks in advance!

nodejs and webstorm ide issue

Can anyone help me please onto this issue. I have just installed webstorm 8 and trying to create a Node.js-express application and getting following error. It pops a node window but shuts it off within milliseconds. Also if i am trying to create a node.js project manaully, i cannot debug node.js it says "Process finished with exit code 0" . Please note if i try to run node from command prompt it is running fine. I am using windows 8
Try choosing node.exe instead of nodevars.bat as Node executable
Try to update your ide. Its working on my case

"Process out of memory" when running Node.js or NPM on Mac OSX 10.5

I am completely new to both Macs and Node.js, so sorry if this one is a bit basic.
I am running Mac OS X 10.5 (Leopard) and have just installed the last version of Node.js (released version, not built from source).
Whenever I attempt to run Node or do an NPM install, I get the following error message:
FATAL ERROR: CodeRange::GetNextAllocationBlock Allocation failed - process out of memory
Does anyone know what the problem is? If not, what would be the next steps to figure this out?
Edit: It turns out that if I run these commands a few times then they eventually work. So my work-around is to keep repeating the command until I get success. This is better than nothing but still not acceptable. Software like WebStorm, which needs to execute these tools, doesn't know about this workaround and fails all the time.
The issue seems to show up when running the distributed build of Node on anything pre OSX 10.6.
You can manually build the binary yourself if you don't have the option to upgrade your OS.
http://therobotsbrain.blogspot.com.au/2012/03/installing-nodejs-on-os-x-105.html
I'm running X.5.8, and node 0.10.13 was giving me this error message. I tried some earlier versions of node, and 0.10.3 works while 0.10.4 gets the error message. This is the x86 version, x64 seems to crash at .3 but works at .0. Oh wait, it's more complicated than that. Seems to make a difference when I make a symlink to the app in /usr/local/bin, it crashes. more often. Try a few different ones see which work for you.
I really need to get a new laptop.
download here: http://nodejs.org/dist/

Resources