Cassandra ccm not installed as application on windows 10

84 Views Asked by At

I have installed cassandra ccm tool on my windows 10 machine, and it got installed in directory 'C:\Python27\Scripts':

enter image description here

I have also added path to env variable PATH, but running ccm commands is not working:

ccm create -h

'ccm' is not recognized as an internal or external command, operable program or batch file.

Is installation of ccm wrong?I see it's not installed as application.

2

There are 2 best solutions below

0
Erick Ramirez On

The same question was asked on https://community.datastax.com/questions/11860/ so I'm reposting my answer here.

The most common causes of the reported error above are:

  • PYTHON_HOME is not set
  • PYTHON_HOME is not included in the PATH environment variable

As a side note, there are too many prerequisites for ccm to run on Windows so I recommend running Cassandra on Docker or better yet, use K8ssandra.io. Cheers!

0
Mandroid On

I had to add .PY to PATHEXT system variable.