gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 189 forks source link

PyBOMBS.install_manager - ERROR - Package has no install method: autotools-bootstrap #549

Closed Andreas237 closed 4 years ago

Andreas237 commented 4 years ago

Greetings,

On Macbook, OSx Mojave 10.14.6 (18G95), x86_64 I am having issues with PyBOMBS. I've read through the open issues, and searched the closed, but haven't found an answer.

The error is PyBOMBS.install_manager - ERROR - Package has no install method: autotools-bootstrap

The log of the command and output is here:

me-MacBook-Pro:~ me$ pybombs prefix init ~/gnuradio -R gnuradio-default
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.16
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.prefix - WARNING - There already is a prefix in `/Users/me/gnuradio'.
Continue using this path Y/[N]? y
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.16
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.16
PyBOMBS.prefix - INFO - Installing default packages for prefix...
PyBOMBS.prefix - INFO -
  - gnuradio
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: lxml in /usr/local/lib/python2.7/site-packages (4.4.1)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting PyGTK
  Using cached https://files.pythonhosted.org/packages/7c/18/fa4f2de77500dd62a314fd845ff6e903ac2ce551164cb421c5750969f799/pygtk-2.24.0.tar.bz2
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: ********************************************************************
    * Building PyGTK using distutils is only supported on windows. *
    * To build PyGTK in a supported way, read the INSTALL file.    *
    ********************************************************************
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-lhfBzz/PyGTK/
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: requests in /usr/local/lib/python2.7/site-packages (2.22.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests) (1.25.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests) (2019.6.16)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests) (2.8)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
PyBOMBS.install_manager - ERROR - Package has no install method: autotools-bootstrap

I guess it's understandable that PyGTK fails since it's targeting Windows. Any advice on how to proceed is welcome.

mbr0wn commented 4 years ago

OK I think I know what's going on. On Mac OS X, we don't have a lot of ways to check if autotools and/or autoconf are installed. In fact, we only have one: The cmd package manager, which will run autoconf and automake and see if they exist. Barring that, PyBOMBS assumes that autotools are not installed, and it has no other way of installing it.

Since I can't reproduce this, here's a couple of questions:

mbr0wn commented 4 years ago

...and if autotools are installed, are there better ways of knowing that it is?

Andreas237 commented 4 years ago

@mbr0wn Thank you for getting back to me! I actually just upgrade Mac's recently, and got GRC running with no issues.

Sorry for the delayed response, and thank you for the in-depth look!

saintofinternet commented 4 years ago

i am facing this issue with Kali 2019.4 and still not able to solve it!

i am running Kali on a VirtualBox and earlier it installed like a charm but now i get the same precise error... i have a Windows 7 Box

[ERROR] Package has no install method: python-click-plugins

joelunmsm2003 commented 4 years ago

Helpe me

pybombs install gr-gsm PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.17 PyBOMBS - INFO - PyBOMBS Version 2.3.3 PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing. PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages: PyBOMBS.install_manager - ERROR - Package has no install method: python-click-plugins

devnulling commented 4 years ago

Try: sudo apt install python-click python-click-plugins

If you use py3: sudo apt install python3-click python3-click-plugins

SorinBaiuta commented 4 years ago

Latest one did not worked

apt install python-click-plugins Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package python-click-plugins