Skip to content

Conversation

@x3rAx
Copy link

@x3rAx x3rAx commented Sep 29, 2022

The URL to the GitHub repo was outdated. Also installing sgframework on a fresh installation of Ubuntu 20.04 results in the error below. This can be fixed by installing wheel before installing sgframework.

Building wheels for collected packages: paho-mqtt
  Building wheel for paho-mqtt (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/mfr/Projects/virtual-can/.direnv/python-3.8.10/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4oqdwr7u/paho-mqtt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4oqdwr7u/paho-mqtt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-swwzebag
       cwd: /tmp/pip-install-4oqdwr7u/paho-mqtt/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for paho-mqtt
  Running setup.py clean for paho-mqtt
Failed to build paho-mqtt

`wheel` is required for building `paho-mqtt`.

On a fresh installation of Ubuntu 20.04, installing `sgframework` results in the following error:

```
  ERROR: Command errored out with exit status 1:
   command: /home/mfr/Projects/virtual-can/.direnv/python-3.8.10/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4oqdwr7u/paho-mqtt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4oqdwr7u/paho-mqtt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-swwzebag
       cwd: /tmp/pip-install-4oqdwr7u/paho-mqtt/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for paho-mqtt
```

Installing `whell` up front fixes it.
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

Successfully merging this pull request may close these issues.

1 participant