Can't run Source Python

All other Source.Python topics and issues.
SoxDrengen
Junior Member
Posts: 2
Joined: Fri Jun 28, 2019 8:06 pm

Can't run Source Python

Postby SoxDrengen » Fri Jun 28, 2019 8:10 pm

Hello!

I have installed Source Python on one of my Linux CSGO serveres. However when I run the plugin i get this error in my console:

Code: Select all

[Source.Python] Loading...
[Source.Python] Failed to load the main module due to following exception:
Traceback (most recent call last):
 
  File "csgo/addons/source-python/packages/source-python/__init__.py", line 98, in load
    setup_sqlite()
 
  File "csgo/addons/source-python/packages/source-python/__init__.py", line 453, in setup_sqlite
    import ctypes
 
  File "csgo/addons/source-python/Python3/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
 
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
[Source.Python] Could not initialize python.
Failed to load plugin "addons/source-python"
[Source.Python] Unloading...
#[Source.Python] Unloaded successfully.


Can somebody help me with what I need in order to get this to work? I haven't adjusted any of the config files. I have also tried to run it on a clean server with only Metamod and Sourcemod installed and same result.

Hope someone can help me! :smile:
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Can't run Source Python

Postby L'In20Cible » Fri Jun 28, 2019 8:30 pm

SoxDrengen
Junior Member
Posts: 2
Joined: Fri Jun 28, 2019 8:06 pm

Re: Can't run Source Python

Postby SoxDrengen » Sat Jun 29, 2019 11:23 am

L'In20Cible wrote:You need the 32 bits version: http://wiki.sourcepython.com/general/installation.html


I currently run on Centos 7, do you know the commands for getting it downloaded for that?
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Re: Can't run Source Python

Postby BackRaw » Sat Jun 29, 2019 8:54 pm

https://centos.pkgs.org/6/centos-x86_64/

Try that maybe, don't know if it's the right one.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 39 guests