Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Setting up this plugin error encountered #1

Open
grohan2002 opened this issue Jun 19, 2018 · 1 comment
Open

Setting up this plugin error encountered #1

grohan2002 opened this issue Jun 19, 2018 · 1 comment

Comments

@grohan2002
Copy link

Error -
Box : Ubuntu 16.04
After installing chaostoolkit https://docs.chaostoolkit.org/reference/usage/install/
tried installing chaostoolkit-google-cloud
pip install -U chaostoolkit-google-cloud

error
Building wheels for collected packages: httplib2, regex
Running setup.py bdist_wheel for httplib2 ... error
Complete output from command /home/velotio/.venvs/chaostk/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l9oi9deo/httplib2/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmp3xxp8k9zpip-wheel- --python-tag cp35:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help

error: invalid command 'bdist_wheel'


Failed building wheel for httplib2
Running setup.py clean for httplib2
Running setup.py bdist_wheel for regex ... error
Complete output from command /home/velotio/.venvs/chaostk/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l9oi9deo/regex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmptere8_k8pip-wheel- --python-tag cp35:
/home/velotio/.venvs/chaostk/lib/python3.5/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '2018.06.09' to '2018.6.9'
normalized_version,
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help

error: invalid command 'bdist_wheel'


Failed building wheel for regex
Running setup.py clean for regex
Failed to build httplib2 regex
Installing collected packages: regex, dateparser, chaostoolkit-kubernetes, httplib2, google-auth-httplib2, uritemplate, google-api-python-client, chaostoolkit-google-cloud
Running setup.py install for regex ... error
Complete output from command /home/velotio/.venvs/chaostk/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l9oi9deo/regex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-h0ppa1e_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/velotio/.venvs/chaostk/include/site/python3.5/regex:
/home/velotio/.venvs/chaostk/lib/python3.5/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '2018.06.09' to '2018.6.9'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
copying regex_3/regex.py -> build/lib.linux-x86_64-3.5
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.5
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.5
running build_ext
building '_regex' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/regex_3
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/velotio/.venvs/chaostk/include -I/usr/include/python3.5m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.5/regex_3/_regex.o
regex_3/_regex.c:46:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/velotio/.venvs/chaostk/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l9oi9deo/regex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-h0ppa1e_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/velotio/.venvs/chaostk/include/site/python3.5/regex" failed with error code 1 in /tmp/pip-build-l9oi9deo/regex/

@rkjakeer
Copy link

sudo apt-get install python3-dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants