search

Home  >  Q&A  >  body text

python - apache 服务器 出现 C++ runtime error R6034 怎么解决?

系统 win7 64位
服务器 apache 32位
mod_wsgi 32位 python 2.77 32位

搭建一个flask应用,简单的“hello world”没问题。换成我自己写的小应用首次访问就弹出

然后就一直是Internal Server Error,error.log中看不到相关的错误。

我自己搜索找到了相关的解决方案,但是没看太明白
Django / Apache / mod_wsgi - WEB Application Hangs - Fails to Launch
Runtime error R6034 in embedded Python application
根据步骤走到最后解决的步骤,不知道该如何下手,
上面说移除这个路径,怎么移除,到哪里移除?

PHP中文网PHP中文网2782 days ago765

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 13:08:33

    SQLite database path problem, change it to absolute path

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:08:33

    1. It seems that the error message is a problem with the connection library
    2. Don’t bother with Windows servers. Nowadays, most servers are Linux servers, mostly Ubuntu Centos
    3. It is best to install a Linux server yourself and try it. Of course, it is also possible to run Linux on a virtual machine

    I hope the above suggestions can help you

    reply
    0
  • Cancelreply