[Networkit] How do you deal with the incompatible dependencies of *networkit*?

Maximilian Vogel maximilian.vogel at student.kit.edu
Tue Jan 20 10:42:08 CET 2015


Hi Chen,

you can have pip installed for Python 2 and Python 3 aswell. So you can 
do the following:
pip install scons
pip3 install networkit

For manual installation you need to clone the repository and then type:
python3 setup.py install
(of course with SCons installed beforehand)

Regards,
Max


On 20.01.2015 10:34, Chen Houwu wrote:
>
> But I can’t run |pip3 install network| of course.
>
> And if I run |pip install network|, the installation will also fail too.
>
> So… seems I can only build manually in python 2, and when finished, 
> shift to python3 and then install, right?
>
> Is there any instructions for manual installation? I did not find it 
> in the documentation.
>
>
>
> -- 
> Chen Howu
>
> On 2015年1月20日 at 17:26:25, Christian Staudt 
> (christian.staudt at kit.edu <mailto:christian.staudt at kit.edu>) wrote:
>
>> Hi Chen,
>> There's no real incompatibility here, let me clarify:
>> - networkit is a Python 3 package
>> - scons, the build driver program, runs on Python 2
>> - You can have both Python 2 and 3 installed on your system. Package 
>> managers usually let you handle these installations in a user 
>> friendly way.
>>
>> Hope that helps,
>> Chris
>>
>> ps. Your request to join the email list has been approved.
>>
>> On 20.01.2015, at 04:25, Chen Houwu <chenhouwu at gmail.com 
>> <mailto:chenhouwu at gmail.com>> wrote:
>>
>>> Hi,
>>>
>>> I try two days in various ways, but still can’t install networkit.
>>> I just wonder how do you deal with the following incompatibility:
>>>
>>> - networkit requires python3, without compatibility on python2.
>>> - networkit depends on sons
>>> - scons requires python2, without compatibility on python 3.
>>>
>>> I request to join the email list, but seems did not get approved,
>>> So I write to you directly.
>>> Sorry for disturbing you.
>>>
>>> -- 
>>> Chen Howu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150120/9729b68e/attachment.html>


More information about the NetworKit mailing list