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 runserver'

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.

1 comment
Comment actions Permalink

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. you can do something like:  

Enable Repos

subscription-manager repos --enable=rhel-server-rhscl-7-rpms
subscription-manager repos --enable=rhel-7-server-extras-rpms
subscription-manager repos --enable=rhel-7-server-optional-rpms

Install Python 3.6

sudo yum install rh-python36


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:  


Please sign in to leave a comment.