Python – The Microsoft Visual FoxPro support library could not be found

The Microsoft Visual FoxPro support library could not be found… here is a solution to the problem.

The Microsoft Visual FoxPro support library could not be found

I

recently updated Python’s Requests package (I installed WireShark around the same time, but I’m not sure if this is related). Since doing this, whenever I try to execute a Python file from the command line that imports the Requests library, I get a popup on the screen stating:

“Cannot locate the Microsoft Visual FoxPro support library”.

If I click OK in the prompt, the file will execute normally. I suspect this is causing issues with the tasks I scheduled for import requests, as they have stopped running until they complete since this issue.

I previously installed the FoxPro database on my machine; That was the only time I’d heard of Visual FoxPro. Other than that, I don’t know why this is the case. If anyone knows why this is happening and/or how I can get it to stop, it’s nice to hear some suggestions. I’d be happy to provide more details if necessary. Thank you.

EDIT: I’ve been able to block pop-up messages and get my scheduled tasks working by rolling back the request to an older version. It would be ideal if someone could suggest that the latest version might cause the behavior I described.

Solution

The above message is caused by the Foxpro application being unable to find its correct runtime library.

The following links provide installers for all Visual Foxpro run-time libraries. Simply downloading the correct runtime installer and installing the file to your PC will solve the problem.

http://www.foxpert.com/download/runtime.html

Related Problems and Solutions