R6034 error occurred in C + + call Python2.7.

Source: Internet
Author: User

There is a recent project to embed Python scripts into C + +, the embedded implementation is not very complicated, the official manuals and online have many examples of this, so the implementation process is very smooth. However, the C + + runtime error, error code R6034, occurred while deploying to another machine.


The development environment is visual Studio + Python2.7.8. This question is very strange, because only in a machine to appear this error, other machines are very normal, after some toss, finally found on the StackOverflow website, the foreigner gives the solution more reliable:

Http://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application



According to the foreigner's method, using Process Explorer to view the dependencies, sure enough, found two msvcr90.dll, one in the VISUALSVN server directory, one in the system WinSxS directory. Finally, the test found that uninstall VISUALSVN or delete its directory msvcr90.dll, the program can run normally, no longer reported R6034 errors.


R6034 error occurred in C + + call Python2.7.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.