dh_python is a build dependency. The runtime dependency is python.

https://github.com/apache/cassandra/blob/cassandra-2.1/debian/control#L6
https://github.com/apache/cassandra/blob/cassandra-2.1/debian/control#L14

Just upgrading to the latest 2.1.x should fix all these issues your
having. :)

Michael

On 03/22/2018 09:59 PM, Cyril Scetbon wrote:
> Yeah, I also had to grab a new version of the cassandra-driver which was
> fixed in 2.1.16 https://issues.apache.org/jira/browse/CASSANDRA-11850
> otherwise cqlsh would not work with python 2.7.12.
> 
> I’m surprised dh-python is not a requirement on the Cassandra package in
> your debian/control 😮
> 
> I also noticed that I get issues with cassandra-stress on
> Xenial https://pastebin.com/raw/r2umZXSV, Any idea ? 
> 
> Bests
> —
> Cyril Scetbon
> 
>> On Mar 19, 2018, at 12:16 PM, Michael Shuler <mich...@pbandjelly.org
>> <mailto:mich...@pbandjelly.org>> wrote:
>>
>> Yep. This was fixed for 2.1.15, 2.2.7, 3.0.6, 3.6 in
>> https://issues.apache.org/jira/browse/CASSANDRA-10853
>>
>> -- 
>> Kind regards,
>> Michael
>>
>> On 03/18/2018 10:55 PM, Cyril Scetbon wrote:
>>> Okay I found that when building the package, the new helper dh_python2
>>> must be used to fix that issue.
>>>
>>> —
>>> Cyril Scetbon
>>>
>>>> On Mar 18, 2018, at 11:08 AM, Cyril Scetbon <cyril.scet...@free.fr
>>>> <mailto:cyril.scet...@free.fr>
>>>> <mailto:cyril.scet...@free.fr>> wrote:
>>>>
>>>> Hey guys,
>>>>
>>>> Having to still use Cassandra 2.1, I have installed it on Ubuntu
>>>> Xenial and I have an issue with cqlsh. I was able to fix it by
>>>> installing python-support and a fix from 2.1.16. However I’d like to
>>>> know if there is a way to do it without installing an old package
>>>> (python-support) on Xenial. dh-python is supposed to have replaced
>>>> python-support, however cqlsh complains when it’s not installed : 
>>>>
>>>> Traceback (most recent call last):
>>>>   File "/usr/bin/cqlsh", line 121, in <module>
>>>>     from cqlshlib import cql3handling, cqlhandling, pylexotron,
>>>> sslhandling
>>>> ImportError: No module named cqlshlib
>>>>
>>>> Is there a better way than installing that old package ?
>>>>
>>>> Thanks 
>>>> —
>>>> Cyril Scetbon
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
>> <mailto:user-unsubscr...@cassandra.apache.org>
>> For additional commands, e-mail: user-h...@cassandra.apache.org
>> <mailto:user-h...@cassandra.apache.org>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org

Reply via email to