Closed antongisli closed 2 years ago
when installing with pip I get errors for flask-basicauth:
ubuntu@proud-possum:~$ python3 -m pip install maaspower Collecting maaspower Downloading maaspower-0.5-py3-none-any.whl (14 kB) Collecting apischema Downloading apischema-0.17.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB) |████████████████████████████████| 3.8 MB 26.1 MB/s Collecting flask Downloading Flask-2.0.3-py3-none-any.whl (95 kB) |████████████████████████████████| 95 kB 9.2 MB/s Collecting typer Downloading typer-0.4.0-py3-none-any.whl (27 kB) Collecting importlib-resources Downloading importlib_resources-5.4.0-py3-none-any.whl (28 kB) Collecting flask-basicauth Downloading Flask-BasicAuth-0.2.0.tar.gz (16 kB) Collecting ruamel.yaml Downloading ruamel.yaml-0.17.21-py3-none-any.whl (109 kB) |████████████████████████████████| 109 kB 39.9 MB/s Collecting jsonschema Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB) |████████████████████████████████| 72 kB 4.1 MB/s Collecting pysmartthings Downloading pysmartthings-0.7.7-py3-none-any.whl (34 kB) Collecting typing-extensions Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting click>=7.1.2 Downloading click-8.0.4-py3-none-any.whl (97 kB) |████████████████████████████████| 97 kB 17.6 MB/s Collecting Jinja2>=3.0 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) |████████████████████████████████| 133 kB 47.6 MB/s Collecting itsdangerous>=2.0 Downloading itsdangerous-2.1.0-py3-none-any.whl (15 kB) Collecting Werkzeug>=2.0 Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB) |████████████████████████████████| 289 kB 43.1 MB/s Collecting zipp>=3.1.0; python_version < "3.10" Downloading zipp-3.7.0-py3-none-any.whl (5.3 kB) Collecting ruamel.yaml.clib>=0.2.6; platform_python_implementation == "CPython" and python_version < "3.11" Downloading ruamel.yaml.clib-0.2.6-cp38-cp38-manylinux1_x86_64.whl (570 kB) |████████████████████████████████| 570 kB 27.1 MB/s Collecting attrs>=17.4.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) |████████████████████████████████| 60 kB 22.9 MB/s Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.18.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (119 kB) |████████████████████████████████| 119 kB 41.2 MB/s Collecting aiohttp<4.0.0,>=3.8.0 Downloading aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.3 MB) |████████████████████████████████| 1.3 MB 33.0 MB/s Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting yarl<2.0,>=1.0 Downloading yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (308 kB) |████████████████████████████████| 308 kB 33.6 MB/s Collecting async-timeout<5.0,>=4.0.0a3 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (158 kB) |████████████████████████████████| 158 kB 43.7 MB/s Collecting aiosignal>=1.1.2 Downloading aiosignal-1.2.0-py3-none-any.whl (8.2 kB) Collecting charset-normalizer<3.0,>=2.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB) |████████████████████████████████| 121 kB 45.4 MB/s Collecting idna>=2.0 Downloading idna-3.3-py3-none-any.whl (61 kB) |████████████████████████████████| 61 kB 18.9 MB/s Building wheels for collected packages: flask-basicauth Building wheel for flask-basicauth (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/ubuntu/maaspower/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qvxve9fb/flask-basicauth/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qvxve9fb/flask-basicauth/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-vasxtoge cwd: /tmp/pip-install-qvxve9fb/flask-basicauth/ 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 flask-basicauth Running setup.py clean for flask-basicauth Failed to build flask-basicauth Installing collected packages: apischema, click, MarkupSafe, Jinja2, itsdangerous, Werkzeug, flask, typer, zipp, importlib-resources, flask-basicauth, ruamel.yaml.clib, ruamel.yaml, attrs, pyrsistent, jsonschema, idna, multidict, yarl, async-timeout, frozenlist, aiosignal, charset-normalizer, aiohttp, pysmartthings, typing-extensions, maaspower Running setup.py install for flask-basicauth ... done Successfully installed Jinja2-3.0.3 MarkupSafe-2.1.0 Werkzeug-2.0.3 aiohttp-3.8.1 aiosignal-1.2.0 apischema-0.17.5 async-timeout-4.0.2 attrs-21.4.0 charset-normalizer-2.0.12 click-8.0.4 flask-2.0.3 flask-basicauth-0.2.0 frozenlist-1.3.0 idna-3.3 importlib-resources-5.4.0 itsdangerous-2.1.0 jsonschema-4.4.0 maaspower-0.5 multidict-6.0.2 pyrsistent-0.18.1 pysmartthings-0.7.7 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.6 typer-0.4.0 typing-extensions-4.1.1 yarl-1.7.2 zipp-3.7.0 (maaspower) ubuntu@proud-possum:~$ (maaspower) ubuntu@proud-possum:~$ maaspower --version 0.5
pip install --upgrade pip wheel seems to fix it. probably should add to instructions?
pip install --upgrade pip wheel
I'll add that to instructions - I assume I already add latest wheel version when making this.
done.
when installing with pip I get errors for flask-basicauth: