[MacPorts] #68069: py27-mpi4py @3.1.4: distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('3to2')

MacPorts noreply at macports.org
Mon Aug 28 08:54:45 UTC 2023


#68069: py27-mpi4py @3.1.4: distutils.errors.DistutilsError: Could not find
suitable distribution for Requirement.parse('3to2')
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-mpi4py
------------------------+-----------------------
 https://build.macports.org/builders/ports-
 12_arm64-builder/builds/104473/steps/install-port/logs/stdio
 {{{
 WARNING: The pip package is not available, falling back to EasyInstall for
 handling setup_requires/test_requires; this is deprecated and will be
 removed in a future version.
 Not found: ''
 Not found: ''/3to2/
 Not found: ''/3to2/
 Couldn't find index page for '3to2' (maybe misspelled?)
 Not found: ''/
 No local packages or working download links found for 3to2
 Traceback (most recent call last):
   File "setup.py", line 642, in <module>
     main()
   File "setup.py", line 639, in main
     run_setup()
   File "setup.py", line 512, in run_setup
     **setup_args
   File "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 mpi4py/py27-mpi4py/work/3.1.4/conf/mpidistutils.py", line 508, in setup
     return fcn_setup(**attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/__init__.py", line 161, in setup
     _install_setup_requires(attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/__init__.py", line 156, in
 _install_setup_requires
     dist.fetch_build_eggs(dist.setup_requires)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
     replace_conflicting=True,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 782, in resolve
     replace_conflicting=replace_conflicting
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 1065, in best_match
     return self.obtain(req, installer)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 1077, in obtain
     return installer(requirement)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 777, in fetch_build_egg
     return fetch_build_egg(self, req)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/installer.py", line 70, in fetch_build_egg
     return _legacy_fetch_build_egg(dist, req)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/installer.py", line 53, in
 _legacy_fetch_build_egg
     return cmd.easy_install(req)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/easy_install.py", line 679, in
 easy_install
     raise DistutilsError(msg)
 distutils.errors.DistutilsError: Could not find suitable distribution for
 Requirement.parse('3to2')
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 mpi4py/py27-mpi4py/work/3.1.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68069>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list