saiharsha-22 / Cassandra

0 stars 0 forks source link

Cassandra with python 3 #1

Open smit8585 opened 2 years ago

smit8585 commented 2 years ago

Hey @saiharsha-22 , I just came across Cassandra, and I found that it only supports python 2.7 , I have python 3.10 install globally on my computer, so I was just wondering if there any way to use Cassandra with python 3 or any update regarding the same? Some good reference to look for this issue would be a great help.

saiharsha-22 commented 2 years ago

Hey @smit8585 you can do one thing. You can use multiple python versions in a single machine even I do the same. For my machine learning projects i use python 3.1 and for Cassandra I prefer python 2.7. First install python 2.7 sperately then give the path of it in the environment variables. And once that is done, now go inside the python 2.7 were it's installed, open cmd(command prompt) over there and you can start your Cassandra server using that terminal.

I hope this solves your issue. If you have any doubts you can ask.