Hi all,
our easybuild pipeline is set up to build stuff as jobs on the cluster using
GC3Pie. For most cases this works fine, but there are some clashes with python
environment used by GC3Pie. For example, building Python-3.7.4-GCCcore-8.3.0 I
get this:
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from setuptools import find_packages, setup
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/__init__.py",
line 20, in <module>
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/dist.py",
line 34, in <module>
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/depends.py",
line 7, in <module>
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/py33compat.py",
line 11, in <module>
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/_vendor/six.py",
line 92, in __get__
result = self._resolve()
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/_vendor/six.py",
line 115, in _resolve
return _import_module(self.mod)
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/setuptools-41.0.1-py2.7.egg/setuptools/_vendor/six.py",
line 82, in _import_module
__import__(name)
File
"/g/easybuild/x86_64/CentOS/7/haswell/software/GC3Pie/2.6.4/lib/python2.7/site-packages/future-0.17.1-py2.7.egg/html/__init__.py",
line 7, in <module>
raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are
trying to run from the python-future src folder or your installation of
python-future is corrupted.
It is obvious that python3 build is picking up python stuff from python 2.7
used by GC3Pie.
Any way to make this work as expected?
--
Jurij Pečar
HPC Engineer, IT Operations, IT Services
EMBL Heidelberg, Meyerhofstraße 1, 69117, Heidelberg, Germany
Room 13-401