Why I abandoned all Options to get Python running Visual Studio to integrate with DotNet CSharp or Visual C++

(Last Updated On: April 8, 2014)
Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address

Why I abandoned all Options to get Python running Visual Studio  to integrate with DotNet CSharp or Visual C++

We tried to get everything to work with Visual Studio 2012 Ultimate as instructed at:

http://pytools.codeplex.com/wikipage?title=PTVS%20Installation <- works fine but no simple examples to show calls from Visual C++ or C#

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip <– all of the Windows binaries run fine within Visual Studio it seems

I say ya right, I got the time to monkey around with these options:

http://stackoverflow.com/questions/11056424/running-python-from-visual-c-code-embedded-python

http://www.codeproject.com/Tips/587652/Cplusplus-Easier-to-Embed-Pytho <– too old and fragile

I am sure there are others but really why go on this Easter egg hunt?

https://docs.python.org/3.3/extending/windows.html

You are kidding me right with URL the above? WTF!

After trying to install pandas, I quickly abandonded this idea as it kept asking for other dependency packages like numpy and some date package. Wow what a mess. I guess you could say I quickly abandonded this idea as well. All I can say, you are left to your own devices trying to figure out how get either Visual C++ and C# to call a Python script. I am sure it can be done somehow without Iron Python but it seems I really don’t want to waste any more time on this rabbit hole. I really despise these paths as I wish someone could properly document a tutorial on how to do this. What a real  mess it is so we stick with Matlab Builder NE prior 2014 releases. It just seems this is the only slick way without using this Python or R nightmare situation. Again another fine mess of  open source not documented to get something quickly running.

P.S. I got close without these unresloved external errors during the linking but these links helped to get me closer with library setup within Visual Studio:

http://stackoverflow.com/questions/18043939/microsoft-visual-studios-2012-cant-open-python33-lib

http://stackoverflow.com/questions/17028576/using-python-3-3-in-c-python33-d-lib-not-found

Other useless URLS;

http://bytes.com/topic/python/answers/25807-how-call-python-function-visual-c

https://docs.python.org/2/extending/embedding.html

http://www.dreamincode.net/forums/topic/238102-python-in-visual-c/

Good god, do it the smart way ok? Follow us through our newsletter 

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Featured, Quant Development and tagged , , , , , , , , on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at youtube.com/quantlabs