Evertras / lakitu

A playground for tiny virtual cloud things
MIT License
5 stars 1 forks source link

error: invalid command 'bdist_wheel' and error: invalid command 'bdist_wheel' #9

Open TomyYamy opened 2 weeks ago

TomyYamy commented 2 weeks ago

I was stuck at makefile. Maybe we may add wheel to requirements.txt?

TomyYamy commented 2 weeks ago

I'm facing the error.

tomoya-yamaguchi@XH22070093-L:~/Repos/lakitu$ make
python -m venv .venv
./.venv/bin/pip install -r requirements.txt
Looking in indexes: https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/simple
Collecting ansible==5.3.0
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/d3/67/ceac5a18e6b675e7ea5330a0737625593ab8f9706c1ed31071c29b62322c/ansible-5.3.0.tar.gz (38.0 MB)
Collecting ansible-core==2.12.2
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/20/29/261882cb36120e22804f0579da6e13421d719ccbde4ccdffe3f54368c503/ansible-core-2.12.2.tar.gz (7.8 MB)
Collecting cffi==1.15.0
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/e2/25/00fd291e0872d43dabe070e7b761ba37453a1a94bd6e28c31b73112d8f0c/cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB)
Collecting cryptography==36.0.1
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/a7/9f/a725c8f434d24ae656b61539b3c3d22325e8b65331c3f8f943c4cf8858d4/cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
Collecting Jinja2==3.0.3
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting MarkupSafe==2.0.1
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/6f/83/eabfb8c6d60b096dc9ada378cf935809289c4d0327b74a60789bde77e1db/MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl (30 kB)
Collecting packaging==21.3
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl (40 kB)
Collecting pycparser==2.21
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pyparsing==3.0.7
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl (98 kB)
Collecting PyYAML==6.0
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/12/fc/a4d5a7554e0067677823f7265cb3ae22aed8a238560b5133b58cda252dad/PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
Collecting resolvelib==0.5.4
  Using cached https://artifactory-ha.tmc-stargate.com/artifactory/api/pypi/arene-development-pypi-local-private/packages/packages/eb/11/bda2b7dee2c84d1f1923ae273023bb94d3e5ab3d1a46b4bd8cf5eb81a241/resolvelib-0.5.4-py2.py3-none-any.whl (12 kB)
Building wheels for collected packages: ansible, ansible-core
  Building wheel for ansible (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /mnt/data/Repos/lakitu/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-44_tpxde/ansible/setup.py'"'"'; __file__='"'"'/tmp/pip-install-44_tpxde/ansible/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-t9qmu3_m
       cwd: /tmp/pip-install-44_tpxde/ansible/
  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 ansible
  Running setup.py clean for ansible
  Building wheel for ansible-core (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /mnt/data/Repos/lakitu/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-44_tpxde/ansible-core/setup.py'"'"'; __file__='"'"'/tmp/pip-install-44_tpxde/ansible-core/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-gukl253s
       cwd: /tmp/pip-install-44_tpxde/ansible-core/
  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 ansible-core
  Running setup.py clean for ansible-core
Failed to build ansible ansible-core
Installing collected packages: PyYAML, pycparser, cffi, cryptography, MarkupSafe, Jinja2, pyparsing, packaging, resolvelib, ansible-core, ansible
    Running setup.py install for ansible-core ... done
    Running setup.py install for ansible ... done
Successfully installed Jinja2-3.0.3 MarkupSafe-2.0.1 PyYAML-6.0 ansible-5.3.0 ansible-core-2.12.2 cffi-1.15.0 cryptography-36.0.1 packaging-21.3 pycparser-2.21 pyparsing-3.0.7 resolvelib-0.5.4
./.venv/bin/ansible-galaxy install -r requirements.yaml
Starting galaxy role install process
[WARNING]: - geerlingguy.docker (4.2.2) is already installed - use --force to change version to unspecified
touch: cannot touch '.requirements-installed': Permission denied
make: *** [Makefile:102: .requirements-installed] Error 1