auchter / haaska

Home Assistant Alexa Skill Adapter
263 stars 60 forks source link

updated to hassbian 1.3 Stretch and get error running make #92

Closed FletchNZ closed 6 years ago

FletchNZ commented 6 years ago

I have just done a clean build of Hassbian 1.3 and now when I run make on a fresh install of hasska it failed to build, below is the error I get. I'm thinking it has to do with the python 3.5 update

pi@hassbian:~/haaska $ make mkdir -p build cp haaska.py config/ca-certificates.crt config/config.json build pip3 install -t build requests Collecting requests Using cached requests-2.18.4-py2.py3-none-any.whl Collecting urllib3<1.23,>=1.21.1 (from requests) Using cached urllib3-1.22-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 (from requests) Using cached chardet-3.0.4-py2.py3-none-any.whl Collecting certifi>=2017.4.17 (from requests) Using cached certifi-2017.7.27.1-py2.py3-none-any.whl Collecting idna<2.7,>=2.5 (from requests) Using cached idna-2.6-py2.py3-none-any.whl Installing collected packages: urllib3, chardet, certifi, idna, requests Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run prefix=options.prefix_path, File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 784, in install kwargs File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files isolated=self.isolated, File "/usr/lib/python3/dist-packages/pip/wheel.py", line 247, in move_wheel_files prefix=prefix, File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme i.finalize_options() File "/usr/lib/python3.5/distutils/command/install.py", line 273, in finalize_options raise DistutilsOptionError("can't combine user with prefix, " distutils.errors.DistutilsOptionError: can't combine user with prefix, execprefix/home, or install(plat)base Makefile:10: recipe for target 'haaska.zip' failed** make: *** [haaska.zip] Error 2

FletchNZ commented 6 years ago

i've tried this again on HA 57.3 and its now working fine.