ImportError: DLL load failed: %1 is not a valid Win32 application on Windows 10 64-bit

213 views
Skip to first unread message

tra...@ualberta.ca

unread,
Sep 27, 2016, 2:20:59 PM9/27/16
to pupil-discuss, c.s.c...@ualberta.ca, jhe...@ualberta.ca, ko...@ualberta.ca
I'm installing pupil on windows 10 64-bit.
I followed everything in the Dependencies-Installation-Windows on the [wiki](https://github.com/pupil-labs/pupil/wiki/Dependencies-Installation-Windows), and to be specific:

7-zip is installed
I downloaded stdint.h and saved it in the path C:\Users\MoCap\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\include because thats where it seemed to be called (which may be my problem)
Downloaded and installed Python 2.7.6 and added it to my path
Used pip (not python -m pip) to install the following:
SciPy: scipy‑0.15.1‑cp27*.whl
PyOpenGL: PyOpenGL‑3.1.1*.whl
Numpy: numpy‑1.9.2+mkl‑cp27*.whl
OpenCV: opencv_python‑2.4.11‑cp27*.whl
PyZMQ: pyzmq‑14.7.0‑cp27*.whl
Cython: Cython‑0.23‑cp27*.whl
psutil: psutil‑3.0.1‑cp27*.whl
PyAudio: PyAudio‑0.2.8‑cp27*.whl
PyAV
pyglui
pyvideoinput
Setup GLFW
Installed git and added the environment variable
Cloned the pupil source (which should actually be before step 5 in the windows setup instructions)



When I try to run:

cd your_pupil_path/pupil/pupil_src/capture
python main.py

I get: ImportError: DLL load failed: %1 is not a valid Win32 application.

The full error is in the attached txt file (running_python_main.txt).


I thought that the issue was with pyglui but I ran:

C:\Users\MoCap\Downloads\Python Packages>python -m pip install pyglui-0.8-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyglui==0.8 from file:///C:/Users/MoCap/Downloads/Python%20Packages/pyglui-0.8-py2.py3-none-any.whl in c:\python27\lib\site-packages

So it is already installed.

Is there anything thing that I can try?

Thanks in advance.
running_python_main.txt

Pupil Labs Info

unread,
Sep 29, 2016, 2:45:55 AM9/29/16
to pupil-...@googlegroups.com, c.s.c...@ualberta.ca, jhe...@ualberta.ca, ko...@ualberta.ca
Hi,

Unfortunately we can not give you a very satisfying answer. Currently we do not support building pupil on windows. We are are currently looking to fill a position that is dedicated to doing windows build and support but right now we don't have the time to do this ourselves.

The biggest problem lies with libuvc support on windows. We have made a bounty for this here: https://www.bountysource.com/trackers/520250-pupil-labs-pupil

Once this is done our cpp modules need to be build on windows.

Finally pyglui need to be build at the latest version.

As you can see there are a number of non trivial steps here. If you can I would really recommend using Ubuntu, since our api is network enabled you can run all other code (matlab, your experiment app, etc) on a windows machine and make the two talk to each other.

Best,

M




--
You received this message because you are subscribed to the Google Groups "pupil-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pupil-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pupil-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pupil-discuss/c1d84bcf-59d5-4366-bec3-5c97c5b49310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Pupil Labs
research + development + design

Reply all
Reply to author
Forward
0 new messages