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

Fix installation script and/or readme for ponyd (pybonjour==1.1.1 no matching distribution) #189

Open
justinseanmartin opened this issue Mar 21, 2016 · 3 comments
Labels
ponyd Issues affecting the `ponyd` python server

Comments

@justinseanmartin
Copy link
Collaborator

The instructions contained at https://github.com/square/PonyDebugger/blob/master/README_ponyd.rst don't currently work.

The current steps that are functioning locally for me are:

git clone [email protected]:square/PonyDebugger.git
cd PonyDebugger
python setup.py install

I'll either update the ponyd instructions to reflect this as the new installation steps, or fix the installation script hosted by GitHub.

@justinseanmartin justinseanmartin changed the title Fix installation and/or installation instructions for ponyd Fix installation script and/or readme for ponyd (pybonjour==1.1.1 no matching distribution) Mar 21, 2016
@orta
Copy link

orta commented Apr 14, 2016

These instructions didn't work for me, I'm on a vanilla python install.
Looking into the permissions things now, could be El Cap. I tried with sudo and got the same problem.

~/d/i/m/PonyDebugger (master) ⏛  python setup.py install
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-69714.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /Library/Python/2.7/site-packages/

@orta
Copy link

orta commented Apr 14, 2016

The solution here for me was to brew install python then re-run the installation script from @justinseanmartin, after removing a few files which were sudo'd to bad permissions.

Installed /usr/local/lib/python2.7/site-packages/six-1.10.0-py2.7.egg
Finished processing dependencies for ponyd==1.0

@AugustinChama
Copy link

`Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to ponyd.egg-info/requires.txt
writing ponyd.egg-info/PKG-INFO
writing top-level names to ponyd.egg-info/top_level.txt
writing dependency_links to ponyd.egg-info/dependency_links.txt
writing entry points to ponyd.egg-info/entry_points.txt
reading manifest file 'ponyd.egg-info/SOURCES.txt'
writing manifest file 'ponyd.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-intel/egg
running install_lib
running build_py
creating build/bdist.macosx-10.13-intel/egg
creating build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/gateway.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/command.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/downloader.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/constants.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/init.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/bonjour.py -> build/bdist.macosx-10.13-intel/egg/ponyd
copying build/lib/ponyd/argbase.py -> build/bdist.macosx-10.13-intel/egg/ponyd
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/gateway.py to gateway.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/command.py to command.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/downloader.py to downloader.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/constants.py to constants.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/init.py to init.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/bonjour.py to bonjour.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/ponyd/argbase.py to argbase.pyc
creating build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/PKG-INFO -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/SOURCES.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/dependency_links.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/entry_points.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/not-zip-safe -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/requires.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying ponyd.egg-info/top_level.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
creating 'dist/ponyd-1.0-py2.7.egg' and adding 'build/bdist.macosx-10.13-intel/egg' to it
removing 'build/bdist.macosx-10.13-intel/egg' (and everything under it)
Processing ponyd-1.0-py2.7.egg
removing '/Library/Python/2.7/site-packages/ponyd-1.0-py2.7.egg' (and everything under it)
creating /Library/Python/2.7/site-packages/ponyd-1.0-py2.7.egg
Extracting ponyd-1.0-py2.7.egg to /Library/Python/2.7/site-packages
ponyd 1.0 is already the active version in easy-install.pth
Installing ponyd script to /usr/local/bin

Installed /Library/Python/2.7/site-packages/ponyd-1.0-py2.7.egg
Processing dependencies for ponyd==1.0
Searching for pybonjour==1.1.1
Best match: pybonjour 1.1.1
Downloading https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pybonjour/pybonjour-1.1.1.tar.gz
Processing pybonjour-1.1.1.tar.gz
Writing /var/folders/f0/hcjg644j1zbbk_8515ks1c9m0000gn/T/easy_install-XmeOSj/pybonjour-1.1.1/setup.cfg
Running pybonjour-1.1.1/setup.py -q bdist_egg --dist-dir /var/folders/f0/hcjg644j1zbbk_8515ks1c9m0000gn/T/easy_install-XmeOSj/pybonjour-1.1.1/egg-dist-tmp-FtQjK1
error: dlopen(libSystem.B.dylib, 6): image not found`

I am getting this error.
Re-installing python did not work for me. Any ideas?

@asmallteapot asmallteapot added the ponyd Issues affecting the `ponyd` python server label Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ponyd Issues affecting the `ponyd` python server
Projects
None yet
Development

No branches or pull requests

4 participants