@sree_datta also check Compilation failed (return status=1) · Issue #4922 · pymc-devs/pymc3 · GitHub where a similar discussion is taking place.
I guess one could modify the os.path before importing theano/pymc3, but that’s not really solving the problem.