configuring remote interpreter with SCL
We have a bit of unusual environment. Due to software compatibility restriction, we have to use "scl" to run python command.
For example, to run python command I type in:
shell> scl enable python27 'python –version'
Python 2.7.5
When I start the server on command line, I do this:
shell> scl enable python27 'python manage.py runserver 0.0.0.0:8000'
However, I don't think I can configure the pycharm IDE to use commands like above. I would like you use the IDE to debug, specifically.
Thanks
For example, to run python command I type in:
shell> scl enable python27 'python –version'
Python 2.7.5
When I start the server on command line, I do this:
shell> scl enable python27 'python manage.py runserver 0.0.0.0:8000'
However, I don't think I can configure the pycharm IDE to use commands like above. I would like you use the IDE to debug, specifically.
Thanks
请先登录再写评论。
While this was an old post its the only one coming up for configuring SCL with PyCharm. If anyone is using RHEL7 for development (i.e. https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/) you can do something like:
Enable Repos
Install Python 3.6
PyCharm
Then in PyCharm, you need to add a new Python Project Interpreter but pointing to the path of the SCL installation which will be something like: