在做pip安装时,mod_wsgi失败了

时间:2018-02-05 06:45:25

标签: python django visual-c++ pip mod-wsgi

我正在尝试将我的django网站放在apache上,我正在关注这些教程enter link description here 通过这些命令

执行这些操作
set "MOD_WSGI_APACHE_ROOTDIR=C:\xampp\apache
pip install mod_wsgi

我收到了这些错误。

wsgi_apache.obj : error LNK2001: unresolved external symbol __imp_apr_conv_utf8_to_ucs2
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_make
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_copy
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_free
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_alloc
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_destroy
wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_split
wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_show_mpm
wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_description
wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_built
wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_get_scoreboard_process
wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_get_scoreboard_worker_from_indexes
wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_exists_scoreboard_image
wsgi_thread.obj : error LNK2001: unresolved external symbol __imp_apr_threadkey_private_get
wsgi_thread.obj : error LNK2001: unresolved external symbol __imp_apr_threadkey_private_set
build\lib.win-amd64-3.6\mod_wsgi\server\mod_wsgi.cp36-win_amd64.pyd : fatal error LNK1120: 101 unresolved externals
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1120

我已经在stackoverflow上尝试了其他很多答案,但没有任何效果。非常感谢

0 个答案:

没有答案