更新时间:2021-08-13 21:46:57
你希望你的包装器在你的包装器中调用 python 时包含$@":
You want your wrapper to contain the "$@" when calling python in your wrapper:
#!/bin/bash -l
/path/to/interpreter/bin/python "$@"
通过这个技巧,我设法在 Windows 上设置了 pycharm,同时在 WSL (Ubuntu bash) 中使用 virtualenv 并检索我的 WSL env 变量.
With that trick I somehow managed to setup pycharm on Windows while using virtualenv in WSL (Ubuntu bash) and retrieving my WSL env variables.