Everything worked perfectly except that I had to specify the shell of conda and I chose bash (I am not sure if it affecting my code).
Also, I did the research about my problem and found the solution which worked for other people. (downgrading libgsl to the correct version as follows: conda install gsl=2.2.1), but I still have the same error. https://github.com/NanoComp/meep/issues/290