有些人说去掉版本,如只有conda-forge::setuptools,但是试了之后会有其他问题。
解决方法:
Guess for me the problem was that the base env conda on remote had packages installed that were not working with the older packages on the host system.
Had that issue and solved it by first conda update --all
on the host sytem, then conda env export --no-builds > env.yml
and regular installation via conda env create -f env.yml
on the remote machine.