Open jadar opened 9 years ago
Got this same error
You have to add '--allow-external', and '--allow-unverified' to pybonjour to install.
here is a shortcut.. download ponyd bootstrap file replace the text in file with this text
then in terminal run
python bootstrap-ponyd.py --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger
After that most probably you will face another issue of 'DistributionNotFound: certifi' on which i spent 5 hours :p here is the solution for that... download setup tools and extract
you will find a file inside folder 'setup.py' then run
python setup.py install --prefix=~/Library/PonyDebugger/
after that run
ponyd update-devtools
and then good to go :dancer:
Thanks @hamdullahshah your fix worked for me!
@hamdullahshah Fixed the problem for me as well, thanks!
I'm having a problem
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'setup_requires'
warnings.warn(msg)
running install
Checking .pth file support in /Users/thuyenbv/Library/PonyDebugger//lib/python2.7/site-packages/
/usr/bin/python -E -c pass
TEST FAILED: /Users/thuyenbv/Library/PonyDebugger//lib/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Users/thuyenbv/Library/PonyDebugger//lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
How should I do to fix them
@buithuyen i think the problem is there are two "/" in the path after "PonyDebugger"
Checking .pth file support in /Users/thuyenbv/Library/PonyDebugger//lib/python2.7/site-packages/ /usr/bin/python -E -c pass TEST FAILED: /Users/thuyenbv/Library/PonyDebugger//lib/python2.7/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATH
I have tried again. But I have still problem
ThuyenBV:pypa-setuptools-e517fced669d ThuyenBV$ python setup.py install --prefix=~/Library/PonyDebugger
running install
Checking .pth file support in /Users/ThuyenBV/Library/PonyDebugger/lib/python2.7/site-packages/
/usr/bin/python -E -c pass
TEST FAILED: /Users/ThuyenBV/Library/PonyDebugger/lib/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Users/ThuyenBV/Library/PonyDebugger/lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
''
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.
Do I have any mistakes or missing?
I'm running OSX 10.10, and I can't seem to install the script. I have the Python 2.7.6 installed. I tried installing pybonjour manually but that didn't help.