Conda (Python) Virtual Environment is not Portable from Windows to Linux
It looks like you are fetching packages compiled with Microsoft Visual C/C++ Compiler (the vc
part of the name). Those packages won't be ABI compatible from Linux as you are trying to do. Simply target the packages that are not Windows-specific.
When exporting your environment, use the option --from-history.
conda env export --from-history > environment.yml
It will export just the libs you explicitly installed, and not the dependencies:
Usually some dependencies are platform specific, like your visual studio dependency above. Also the default conda env export put platform specific info in the libs.
It will prevent a lot of troubles and make your export file multi-platform.
Extra tip: always install a lib referencing its version number (e.g.: conda install pandas=1.2.1). Without the version, the command above will export the dependencies without a version, ruining your environment.