C++ - Installing Python Module - SpiDev - Stack Overflow
C++ - Installing Python Module - SpiDev - Stack Overflow
Join Stack Overflow to find the best answer to your technical question, help others answer theirs.
Sign up with email Sign up with Google Sign up with GitHub Sign up with Facebook
1 of 3 11/10/2022, 1:09 PM
c++ - Installing Python Module - SpiDev - Stack Overflow https://stackoverflow.com/questions/33033189/installing-python-modul...
I am working on a project that involves programming the raspberry pi windows 10 IoT core.
I'm programming it in python, however I need to install the python module SpiDev. I have tried
4 various ways all that return the same error as shown below. I have installed Visual C++ 2010
(Correct version for Python 3.4) as the compiler and I work in Visual Studio Enterprise 2015.
From a command prompt I have tried installing with the following:
with
C:\Python34\python.exe C:\Users\jedho\Downloads\py-spidev-master\py-spidev-master
\setup.py install
Share Improve this question edited Jan 6 at 14:13 asked Oct 9, 2015 at 8:12
Follow bad_coder Jed Hodson
9,816 20 39 64 43 1 3
Join Stack Overflow to find the best answer to your technical question, help others answer theirs.
Same
Sign up with problem happening
email in Python
Sign up with Google2.7 for Windows
Sign up– Mark Lapasa Sep 11,Sign
with GitHub 2016up
atwith
17:33Facebook
2 of 3 11/10/2022, 1:09 PM
c++ - Installing Python Module - SpiDev - Stack Overflow https://stackoverflow.com/questions/33033189/installing-python-modul...
The error happens since some software is platform-oriented. It seems like Windows does not
support native RaspberryPI SpiDev.
1
How to emulate/mock functionality on different platform. Good explanation with wrapping
example.
As temporary solution, the code can be written as small chunks in iPython on dedicated device
and transferred to your Windows-based IDE.
Share Improve this answer Follow answered Aug 16, 2017 at 18:24
Ivy Growing
2,100 2 15 19
Join Stack Overflow to find the best answer to your technical question, help others answer theirs.
Sign up with email Sign up with Google Sign up with GitHub Sign up with Facebook
3 of 3 11/10/2022, 1:09 PM