Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in installing pyuv #35

Open
mddavila opened this issue Jul 20, 2016 · 1 comment
Open

error in installing pyuv #35

mddavila opened this issue Jul 20, 2016 · 1 comment

Comments

@mddavila
Copy link

I want to fully install powerline for a cool terminal, however when I try to install the generic requeriments (https://powerline.readthedocs.io/en/latest/installation.html), I constantly get this message when I try to install pyuv:

$ pip install pyuv
Collecting pyuv
Using cached pyuv-1.3.0.tar.gz
Building wheels for collected packages: pyuv
Running setup.py bdist_wheel for pyuv ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/tmpsXzzb3pip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-2.7
creating build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/init.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
copying pyuv/_version.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
running build_ext
libuv needs to be compiled.
Building libuv...
error: Got return value 127 while executing "sh autogen.sh", output was:
stderr:
autogen.sh: line 28: automake: command not found
autogen.sh: line 33: test: : integer expression expected
autogen.sh: line 34: test: : integer expression expected

  • glibtoolize --copy
    autogen.sh: line 43: glibtoolize: command not found
    stdout:

    Failed building wheel for pyuv
    Running setup.py clean for pyuv
    Failed to build pyuv
    Installing collected packages: pyuv
    Running setup.py install for pyuv ... error
    Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-snLqKy-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.11-x86_64-2.7
    creating build/lib.macosx-10.11-x86_64-2.7/pyuv
    copying pyuv/init.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
    copying pyuv/_version.py -> build/lib.macosx-10.11-x86_64-2.7/pyuv
    running build_ext
    libuv needs to be compiled.
    Building libuv...
    error: Got return value 127 while executing "sh autogen.sh", output was:
    stderr:
    autogen.sh: line 28: automake: command not found
    autogen.sh: line 33: test: : integer expression expected
    autogen.sh: line 34: test: : integer expression expected

+ glibtoolize --copy
autogen.sh: line 43: glibtoolize: command not found
stdout:


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

Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-snLqKy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1l/xcx88qj10w96r83qn2_4xjfc0000gn/T/pip-build-71gj8p/pyuv/

I´m really new in programming staff plus im not a english native speaker so If you could help me in anyway, i would be really gratefull.

@crdoconnor
Copy link
Contributor

crdoconnor commented Jul 24, 2016

Hi @mddavila sorry I dropped the ball on this one.

Could you try::

brew install libtool

And then try again. If that gives any errors, paste them here.

If that doesn't given any errors, can you try::

brew link libtool

And again, try hitch init.

Thanks! (and sorry for the late reply, I'll be quicker next time)

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

No branches or pull requests

2 participants