Problem about create a own beats

(bo) #1

when I used cookiecutter follow the instructions to create the exaplebeat,but it seems losing some files.

when do like this:make setup,problem comed:

mkdir -p vendor/
cp -R /opt/bobo/work/src/ vendor/
rm -rf vendor/
make update
make[1]: Entering directory `/opt/bobo/work/src/'
New python executable in /opt/bobo/work/src/
Installing setuptools, pip, wheel...
Complete output from command /opt/bobo/work/src/g...ython-env/bin/python - setuptools pip wheel:
Traceback (most recent call last):
File "", line 7, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/", line 28, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/vcs/", line 9, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/", line 33, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/html5lib/", line 16, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/html5lib/", line 11, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/html5lib/", line 13, in
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/html5lib/", line 11, in
ImportError: No module named xml.etree.ElementTree

...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 8, in
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
File "/usr/local/lib/python2.7/site-packages/", line 713, in main
File "/usr/local/lib/python2.7/site-packages/", line 945, in create_environment
File "/usr/local/lib/python2.7/site-packages/", line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/local/lib/python2.7/site-packages/", line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /opt/bobo/work/src/g...ython-env/bin/python - setuptools pip wheel failed with error code 1
make[1]: *** [python-env] Error 1
make[1]: Leaving directory `/opt/bobo/work/src/'
make: *** [setup] Error 2

how should I deal with it?

(Glen Smith) #2

Can you tell what exact version of python2.7 you are using?

(bo) #4

thanks Glen
here is version of python 2.7 I'm using:

(Mark Walkom) #5

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them. :slight_smile:

(Tudor Golubenco) #6

I'm not sure what the problem is, but it does seem related to python or virtualenv versions.

Do you get an error when calling virtualenv /tmp/env?

If yes, and if you have virtualenv installed as a system package, I recommend trying to uninstall it and install it back using easy_install virtualenv.

(ruflin) #7

Our minimal requirement for python is 2.7.9: I remember there were some issues with prior versions. Can you updated your python version?

(system) #8

This topic was automatically closed after 21 days. New replies are no longer allowed.