|
[Rivet] Python version in rivet installationAndy Buckley andy.buckley at cern.chWed Jun 13 17:50:29 BST 2018
Hi Andreas, Thanks for the report. We've fixed this version detection problem in the development version, to be released asap. It's the extra "rc1" characters in your Python's version that's confusing it. Andy On Wed, 13 Jun 2018 at 10:05, Andreas Maier <andreas.maier at durham.ac.uk> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Dear Rivet authors, > > I am trying to install Rivet 2.6.0 via the bootstrap script and get > the following error message: > > - -------------------------------------------------- > > checking for a version of Python >= '2.7.3'... Traceback (most recent > call last): > File "<string>", line 1, in <module> > File "ax_python_devel_vpy.py", line 6, in __init__ > self.vpy = self.vtup(platform.python_version()) > File "ax_python_devel_vpy.py", line 3, in vtup > return map(int, s.strip().split(".")) > ValueError: invalid literal for int() with base 10: '15rc1' > no > configure: error: this package requires Python >= '2.7.3'. > If you have it installed, but it isn't the default Python > interpreter in your system path, please pass the PYTHON_VERSION > variable to configure. See ``configure --help'' for reference. > > - -------------------------------------------------- > > I am using the default ubuntu 18.04 python version 2.7.15rc1. > Apparently the check in the YODA configure script assumes a fully > numeric patch version. > > Cheers, > Andreas > -----BEGIN PGP SIGNATURE----- > > iQIzBAEBCgAdFiEEqoShLEi6knEnRENk0ErBUiuwkgAFAlsg3hUACgkQ0ErBUiuw > kgA5dg//bsrPoqGzsQ2hgALwlflLSqJcTFME1DkuaDP9eD5IE7cDEv7u9MYCuh52 > oFlMT8QNtQR/eeRk1hTmjzrzNP+KMMw06yFbyClo/PlXMXmlraI0QyrQs2dI/NsK > R2/KbiLY21JrIySamMk4oniQUPJLgO7yHOVN30eYzjS5NIva0hY8WTAK+RWCFK90 > C2QdH+LhlIbvzwH2QK0rwsw48i7J9qlFqjEeUTX0s4AGzvGVQ9yf4ckibgcPa/G/ > n5i6S3F3rhmlxVbCoZlC5ooXVTKS2Q/Wc55kylJlAUYuawlT8SecTtulcLpg8WLJ > 7f7niKuQz3y7Mv4l/N+t7Ow4dzW07zpcwHmIcHvlq3Vpbaa8gCjezN67ZSzcQs0O > kMWgPW6Ddctz/b7b5ePMZ5jNPYpayBeZszWfpP2/dzL3KTrEt7XGD7RHO+afgSDJ > M12XI96xFaTs4eOEFbI/BFY0ea6J6Zt1PmDakQbnJXRWr1vgRP6kBNSTLgmWOsnv > pmU6ShgVq8oRD2sHt05x6GaZc8lTHQnRQz5WhyM6ILkJB7qATvHgtQc6Jv4Dmpx5 > vsnmRaJ/Fwq4bHJoG1+Kf0Lq+2BKfvy3dRWXMIYU2eMQ6JX+ShviuD2erK9t5PXm > eeUDvL6NMOZ9sc8G0aZxubEUYwbSKjbTNycQgmYqSuMzymP9hAo= > =IwAq > -----END PGP SIGNATURE----- > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -- Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180613/88500570/attachment.html>
More information about the Rivet mailing list |