[TxMt] TM2, python, miniconda environment

Claus clausenator at gmail.com
Wed Nov 20 20:02:04 UTC 2019


Hello TM2 users,

just created a miniconda environment called `py37` which I activate via `conda activate py37`. In my endeavour to tell TM2 how to execute a python code with this environment I found this stackoverflow "solution": https://stackoverflow.com/a/8989779

If this is the way to go – I am a novice and need some help:
	- assuming I put this into `/usr/local/bin/`
	- I guess the file extension is sh and I call it via `sh wrapperscript.sh`? -- is this somehow affected by the new shell in Terminal in Catalina?
	- is "MY-ENV" = "py37" in my case? -- or should this be replaced with  `conda activate py37`?
	- what does "$@" mean

If this is not the way to go, then what should I do? ;-)

Thanks for your help.
Cheers,
Claus


More information about the TextMate mailing list