• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
piScheduler -- A pilight extension for the daily switch plan
#90
gneandr,

When i use youre install script i get an error.......



root@pilight:~# echo ... piScheduler -- install 'ephem'
... piScheduler -- install ephem
root@pilight:~# sudo pip install ephem
Downloading/unpacking ephem
Running setup.py egg_info for package ephem

Installing collected packages: ephem
Running setup.py install for ephem
building 'ephem._libastro' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ilibastro-3.7.6 -I/usr/include/python2.7 -c extensions/_libastro.c -o build/temp.linux-armv7l-2.7/extensions/_libastro.o
extensions/_libastro.c:3:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/root/build/ephem/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RUiV1n-record/install-record.txt:
running install

running build

running build_py

running build_ext

building 'ephem._libastro' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ilibastro-3.7.6 -I/usr/include/python2.7 -c extensions/_libastro.c -o build/temp.linux-armv7l-2.7/extensions/_libastro.o

extensions/_libastro.c:3:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/root/build/ephem/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RUiV1n-record/install-record.txt failed with error code 1 in /root/build/ephem
Storing complete log in /root/.pip/pip.log



What am i doing wrong?
 
Reply
  


Messages In This Thread
RE: piScheduler -- A pilight extension for the daily switch plan - by Joeks - 11-18-2015, 07:06 PM
piSchedule error - by donbucknall - 01-02-2016, 05:30 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Connect pilight to your hue bridge hannemann 4 3,378 Yesterday, 02:08 PM
Last Post: Michelebup
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 2,110 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,915 11-21-2017, 11:15 PM
Last Post: curlymo
Wink PHP class using pilight socket connection Dan 0 1,828 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,907 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 14,006 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 7,309 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,509 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 9,849 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 3,309 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)