Problem: I'm trying to copy a conda environment from one machine to another machine. The source machine is Internet-connected, CUDA-enabled Ubuntu, and the destination machine is an offline Ubuntu, has no CUDA machine. To avoid unexpected problems, I hope that there is a way to exclude CUDA settings when I create an environment in source machine.
What I've tried: Without considering CUDA availability, I've made a clone of a conda environment in the source machine and manually copied into the offline machine, following the link https://stackoverflow.com/a/58103362/10982975. It was able to activate the environment in the destination machine, but still I'm worrying potential problems which can be caused by the CUDA configuration mismatch.
What I've not tried yet: Physical removal of CUDA card from the source machine.
Summarize: Is there a way to exclude CUDA settings when I create an environment in source machine?