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

How import SpoutSDK in python? #3

Open
isdzaurov opened this issue Apr 27, 2018 · 10 comments
Open

How import SpoutSDK in python? #3

isdzaurov opened this issue Apr 27, 2018 · 10 comments

Comments

@isdzaurov
Copy link

Hi guys when i run hello.py i get error "import SpoutSDK. How can i import it in python?

@yuan7407
Copy link

The same issue on python3.7, numpy+opencv+pygame installed, win 10.

@yuan7407
Copy link

C:\Users\D2C\Downloads\Spout-for-Python-master\Examples>python hello.py
Traceback (most recent call last):
File "hello.py", line 5, in
import SpoutSDK
ImportError: DLL load failed: %1

@Makio64
Copy link

Makio64 commented Aug 29, 2018

Same error, any lead on it ?

@Makio64
Copy link

Makio64 commented Aug 29, 2018

Solved by building boost and then SpoutSDK, the python version have to match else python ignore the .pyd like it doesnt exist..

PS : if you are on visualstudio2017 when you build boost you need to change --toolset=msvc-14.0 to --toolset=msvc-14.1

@yuan7407
Copy link

yuan7407 commented Sep 5, 2018

@Makio64 thanks for the solution, I switched to python3.5 and reinstalled everything then it works

@masllsam
Copy link

masllsam commented Dec 2, 2018

I have the same issue, downgraded to python 3.5.2 but it didn't work, then I dowgraded to 3.5 but it is still not resolved.. do you have some other suggestions?

@Hantoo
Copy link

Hantoo commented Aug 14, 2019

I'm having issues with this. Is it possible to create .pyd files for the common versions?
I'm having issues trying to compile the .dll for my machine.

@david-sullivan
Copy link

I've had issues updating this to python 3.7. Now VS2017 is looking for python27.lib (???)....
IF anybody has managed to build it for python 3.7, the pyd would be great, or a breakdown of the changes they made in the project. Having spout available in python would be very useful.

@eps696
Copy link

eps696 commented Oct 25, 2019

@david-sullivan @Hantoo
don't remember where i got it, but here it is
http://eps.here.ru/work/SpoutSDK37.zip

@mirabellej
Copy link

For anyone who is still having trouble getting this to work, try this: https://rusin.work/vjing/tools/spout-for-python/

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

8 participants