ziirish / OctoPrint-TuyaSmartplug

Tuya Smartplug plugin for OctoPrint
Other
19 stars 15 forks source link

Failed to install plugin #39

Open piechade opened 2 years ago

piechade commented 2 years ago
2022-04-24 17:07:15,426 ! checking for gcc... gcc
2022-04-24 17:07:15,426 ! checking whether the C compiler works... yes
2022-04-24 17:07:15,426 ! checking for C compiler default output file name... a.out
2022-04-24 17:07:15,426 ! checking for suffix of executables...
2022-04-24 17:07:15,426 ! checking whether we are cross compiling... configure: error: in `/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42':
2022-04-24 17:07:15,426 ! configure: error: cannot run C compiled programs.
2022-04-24 17:07:15,426 ! If you meant to cross compile, use `--host'.
2022-04-24 17:07:15,426 ! See `config.log' for more details
2022-04-24 17:07:15,426 ! Traceback (most recent call last):
2022-04-24 17:07:15,426 ! File "<string>", line 1, in <module>
2022-04-24 17:07:15,426 ! File "/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42/setup.py", line 456, in <module>
2022-04-24 17:07:15,426 ! core.setup(**kw)
2022-04-24 17:07:15,426 ! File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
2022-04-24 17:07:15,426 ! dist.run_commands()
2022-04-24 17:07:15,426 ! File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
2022-04-24 17:07:15,426 ! self.run_command(cmd)
2022-04-24 17:07:15,426 ! File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
2022-04-24 17:07:15,426 ! cmd_obj.run()
2022-04-24 17:07:15,426 ! File "/data/python/octoprint/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
2022-04-24 17:07:15,427 ! return orig.install.run(self)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/command/install.py", line 546, in run
2022-04-24 17:07:15,427 ! self.run_command('build')
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
2022-04-24 17:07:15,427 ! self.distribution.run_command(command)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
2022-04-24 17:07:15,427 ! cmd_obj.run()
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
2022-04-24 17:07:15,427 ! self.run_command(cmd_name)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
2022-04-24 17:07:15,427 ! self.distribution.run_command(command)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
2022-04-24 17:07:15,427 ! cmd_obj.run()
2022-04-24 17:07:15,427 ! File "/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42/setup.py", line 251, in run
2022-04-24 17:07:15,427 ! self.run_command(cmd_name)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
2022-04-24 17:07:15,427 ! self.distribution.run_command(command)
2022-04-24 17:07:15,427 ! File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
2022-04-24 17:07:15,427 ! cmd_obj.run()
2022-04-24 17:07:15,427 ! File "/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42/setup.py", line 278, in run
2022-04-24 17:07:15,427 ! raise RuntimeError("autoconf error")
2022-04-24 17:07:15,427 ! RuntimeError: autoconf error
2022-04-24 17:07:15,428 ! ----------------------------------------
2022-04-24 17:07:15,428 ! ERROR: Command errored out with exit status 1: /data/python/octoprint/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x1xlkfzc/pycrypto_286efb7d83a144e99c3539e03e026d42/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-0h44629s/install-record.txt --single-version-externally-managed --compile --install-headers /data/python/octoprint/include/site/python3.9/pycrypto Check the logs for full command output.
2022-04-24 17:07:15,428 > Running setup.py install for pycrypto: finished with status 'error'

plugin_pluginmanager_console.log