Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still some runtime linking of Visual Studio dlls #62

Open
paulie-g opened this issue Sep 15, 2017 · 0 comments
Open

Still some runtime linking of Visual Studio dlls #62

paulie-g opened this issue Sep 15, 2017 · 0 comments

Comments

@paulie-g
Copy link
Owner

Issue by ryanniehaus
Wednesday Jul 12, 2017 at 20:32 GMT
Originally opened as autopilot-rs#95


I'm running autopy 0.51, installed via pip.

Running in a normal python shell, I don't have a problem. However, when I run in my company's test environment, I get this:

>>> import autopy
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "c:\python\python27\Lib\site-packages\autopy\__init__.py", line 9, in <module>
    import autopy.alert
ImportError: DLL load failed: The specified module could not be found

The only differences in this environment is a few extra modules on the sys.path and a few extra environment variables.

If I launch the normal python shell with all of the same paths/environment variables, I still don't have the problem.

I'm not sure what the difference is, but it seems like I'm hitting some branch of the code that is trying to load a dll at runtime (MSVCR90.dll, according to Process Explorer). Running the normal python shell with process explorer is not showing the offending dll is trying to be loaded.

I'm not sure what function calls would be causing this runtime linkage, but it seems you still have some dependencies on visual studio libraries...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant