Hi Loris, Thanks for the hint — it didn’t really solve my problem but you somehow gave me the idea that this is caused by my own users environment. So I switched to a colleague's account and then it worked. :)
(I am maintaining my own EB installation with a „pip --user install easybuild“ installation, maybe this somehow messed things up.) Sorry for the noise. Cheers Sebastian > Am 22.02.2023 um 15:03 schrieb Loris Bennett <[email protected]>: > > Hi Sebastian, > > Sebastian Potthoff <[email protected] > <mailto:[email protected]>> writes: > >> Hi there, >> >> I am trying to upgrade our EB installation from 4.6.2 to the latest 4.7.0, >> using >> >> eb --install-latest >> >> and in doing so, come across this error: >> >> >> >> == 2023-02-22 14:16:59,395 build_log.py:171 ERROR EasyBuild crashed with an >> error (at easybuild/base/exceptions.py:126 in __init__): cmd " >> /usr/bin/python3 -m pip install --prefix=/easybuild/software/EasyBuild/4.7.0 >> --no-deps --ignore-installed ." exited with exit code 1 and output: >> Exception: >> Traceback (most recent call last): >> File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in >> main >> status = self.run(options, args) >> File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 294, >> in run >> with self._build_session(options) as session: >> File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 69, in >> _build_session >> if options.cache_dir else None >> File "/usr/lib64/python3.6/posixpath.py", line 80, in join >> a = os.fspath(a) >> TypeError: expected str, bytes or os.PathLike object, not int >> >> >> >> Now this seems to be caused by the fairly old pip3 version 9.0.3 which comes >> with CentOS-7.9. I tried to upgrade the systems' pip3 installation as root >> by hand (pip install pip --upgrade) but EB is still (intentionally?) using >> the original one. >> >> ... >> == 2023-02-22 14:16:58,553 pythonpackage.py:212 INFO Determining pip >> version... >> == 2023-02-22 14:16:58,553 run.py:236 INFO running cmd: /usr/bin/python3 -m >> pip --version >> == 2023-02-22 14:16:58,878 pythonpackage.py:220 INFO Found pip version: 9.0.3 >> == 2023-02-22 14:16:58,879 pythonpackage.py:481 INFO Found pip version >> 9.0.3, OK >> … >> >> >> >> >> Python packages installed via *yum* live in >> /usr/lib/python3.6/site-packages/ >> >> while „pip“ installed packages (with root) live in >> /usr/local/lib/python3.6/site-packages/ >> >> Did anyone else experience this behaviour? And wouldn’t this kind of error >> have been caught by one of the unit tests while in testing? > > We have installed EasyBuild 4.7.0 successfully on CentOS 7.9. > > Does it still fail if you do > > PYTHONPATH= eb --install-latest > > ? > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Herr/Mr) > ZEDAT, Freie Universität Berlin
smime.p7s
Description: S/MIME cryptographic signature

