Hi,
It may be that Python 3.10 is not found.
Can you try to install it from following link and see if that fix the issue?
https://www.python.org/downloads/release/python-3100/
Hope this helps!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, I am a student trying to learn how to get Python and C++ to function together via Visual Studio. This week, I encountered a bit of a technical problem with Visual Studio and Python. I have tried finding solutions on my own, but I cannot seem to find the information that I need to resolve it. I was hoping that someone here might be able to provide some insight.
At first, my issue would seem to be obvious. The file 'python310.dll' is simply missing. Yet, I do not think that it is. I have reinstalled Python multiple times, including both the 64-bit and 32-bit versions. I have also tried rolling back Python to a prior version, but it did not resolve my issue. Visual Studio continues to report that the file is missing.
My only guess is that my paths have been improperly setup to import Python into my C++ project. As I understand it, I need two paths to get functionality - the include folder and the library path. These paths, found at: properties/VC++Directories, match what my instructor has requested. The result, however, is an error from Visual Studio when compiled.
Below is a screenshot of both my paths and the error returned by Visual Studio:
Could anyone possibly offer insight into how I have errored in setting this project up? I am at my wits end at trying to solve this myself.
Hi,
It may be that Python 3.10 is not found.
Can you try to install it from following link and see if that fix the issue?
https://www.python.org/downloads/release/python-3100/
Hope this helps!
Hi, @Cheeseburger
Here are some steps to fix the problem for your reference:
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.