I always have this question. Suppose I have a conda environment (full, say 'xyz') with python2.7 and gcc 7.3. I could install many notorious packages, like CFITSIO, easily in the conda environment. But when I am trying to install another package which requires CFITSIO, the latter is not found because the terminal (even in the xyz conda environment) uses the system gcc, not the conda one. So my problem boils down to the question how can I use the xyz conda environment gcc instead of the system gcc, say while using some third party package?
↧