Support Policy      Security Notices

"No appropriate python interpreter found" when running cqlsh

Created: 2017-01-04 12:08:33 UTC
Last Update: 2017-09-25 03:34:19 UTC


1 comment

  • Avatar
    Richard Jones

    If you use the SCL solution provided to install python27 on RHEL/CentOS 6.x. Adding the following profile script makes it easier to run cqlsh by always running it in a python27 environment. This doesn't break yum or modify the system python version.


    # Run cqlsh with python2.7
    if [ -f /usr/bin/scl ]; then
    if scl -l | grep -q python27 ; then
    alias cqlsh='scl enable python27 -- cqlsh'

Please sign in to leave a comment.