Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
未定义的方法'Py#u已初始化';对于RubyPython::Python:Module_Python_Ruby_Gollum Wiki - Fatal编程技术网

未定义的方法'Py#u已初始化';对于RubyPython::Python:Module

未定义的方法'Py#u已初始化';对于RubyPython::Python:Module,python,ruby,gollum-wiki,Python,Ruby,Gollum Wiki,我试图在Ubuntu服务器上使用Gollum来提供加价页面,但每当我试图突出显示任何语法时,都会收到以下错误 undefined method `Py_IsInitialized' for RubyPython::Python:Module 堆栈跟踪: /var/lib/gems/1.8/gems/rubypython-0.5.3/lib/rubypython.rb in start return false if RubyPython::Python.Py_IsInitialized !

我试图在Ubuntu服务器上使用Gollum来提供加价页面,但每当我试图突出显示任何语法时,都会收到以下错误

undefined method `Py_IsInitialized' for RubyPython::Python:Module
堆栈跟踪:

/var/lib/gems/1.8/gems/rubypython-0.5.3/lib/rubypython.rb in start
  return false if RubyPython::Python.Py_IsInitialized != 0

/var/lib/gems/1.8/gems/pygments.rb-0.2.3/lib/pygments/ffi.rb in start
  RubyPython.start

/var/lib/gems/1.8/gems/pygments.rb-0.2.3/lib/pygments/ffi.rb in highlight
  start unless pygments

检查是否安装了以下软件包:“python pygments”和“python dev

您使用什么python版本?需要在Fedora上使用python pygments和python devel