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

Recommended install via PyBombs fails on macOS High Sierra #569

Open
devnulling opened this issue Jan 21, 2020 · 4 comments
Open

Recommended install via PyBombs fails on macOS High Sierra #569

devnulling opened this issue Jan 21, 2020 · 4 comments

Comments

@devnulling
Copy link
Member

Moving this issue to here from: gnuradio/gnuradio#1531

System versions

System version: macOS 10.13.1
Package manager: Homebrew (due to an OOT module needing PythonNet, macports can't be used)
Python version: Python 2.7.14

How to recreate

After creating an installation prefix (step 4 of the quick-start):

$ pybombs install gnuradio

Output

PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
Password:
Collecting PyGTK
  Using cached pygtk-2.24.0.tar.bz2
    Complete output from command python setup.py egg_info:
    ********************************************************************
    * Building PyGTK using distutils is only supported on windows. *
    * To build PyGTK in a supported way, read the INSTALL file.    *
    ********************************************************************

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-OyRkiY/PyGTK/
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
PyBOMBS.install_manager - ERROR - Package has no install method: libevent

Attempted fix

$ pybombs install libevent
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
PyBOMBS.install_manager - ERROR - Package has no install method: libevent
$ brew install libevent
==> Downloading https://homebrew.bintray.com/bottles/libevent-2.1.8.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libevent-2.1.8.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/libevent/2.1.8: 847 files, 2.2MB
$ brew install libevent
Warning: libevent 2.1.8 is already installed

Same error afterwards.

@michaelld
Copy link

@nsbruce tagging the OP (or trying to ...)

@michaelld
Copy link

I would be -very- surprised if PyBOMBS actually works on OSX, given that there are no internal references to DYLD_LIBRARY_* ... there are to the Unix-y LD_LIBRARY_*, which leads me to believe that there is library path manipulation & hence why on OSX I doubt it will work.

@michaelld
Copy link

Is pythonnet this: https://pythonnet.github.io ...? If so, I'll see if I can add it to MacPorts.

@nsbruce
Copy link

nsbruce commented Jan 21, 2020

The tag worked @michaelld. I see what you mean about the references. It's been a while since I tried to do this. I'm not sure if it's still a relevant issue since that's two macOS versions old. I think I switched to a dockerized-GR when this didn't work.

Whether for this issue or not, having pythonnet available on MacPorts would be useful!

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

3 participants