cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
715 stars 41 forks source link

Set PYTHONPATH during conda. #187

Closed veritas9872 closed 8 months ago

veritas9872 commented 8 months ago

Remove the soft linking and use the actual file path for PYTHONPATH. Also, ensure that previous versions of the variable are not deleted. Also, check if defining PYTHONPATH during conda installation prevents unnecessary package installations such as alternative versions of numpy.

veritas9872 commented 8 months ago

Check if the NGC images set PYTHONPATH.

veritas9872 commented 8 months ago

Solved this by simply appending anything already present in PYTHONPATH.