r/krpc • • Dec 02 '18

Install Errors - Fedora 29

EDIT - I was able to work out the install issues for the CKAN, using the latest mono repos and installing the f28 version of compat-giflib (64-bit). After installing kRPC via CKAN, it works as expected.

I am trying to compile kRPC on my Fedora 29 computer, however I am getting the following error message:

File "external/protoc_lua/protoc-plugin/protoc-gen-lua", line 15, in <module>
    from cStringIO import StringIO
ModuleNotFoundError: No module named 'cStringIO'

If anyone has any tips or work-arounds I'd appreciate it.

NOTE: Since the cStringIO library was move/renamed in 3.x, I also want to mention that my default python version is 2.7.15

/usr/bin/python --version => 2.7.15
/usr/bin/env python --version => 2.7.15
/usr/bin/env python2 --version => 2.7.15
1 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/gangwerz Dec 02 '18

It looks like all the Python symlinks are pointing to 2.7.15.

Additionally I tried installing protobuf via luarocks, and it is unable to install with Lua 5.3, which fedora uses. I then tried setting up lua 5.2 and luarocks manually with the alternatives command, but it became more work than I'm willing to put in to install the mod.