狮身人面像显示错误:无法创建进程

时间:2019-03-18 21:08:46

标签: python-sphinx

我在Windows的python3下使用Sphinx。之前对我有用:使用sphinx-quickstartsphinx-apidoc生成html。

现在它显示错误

  

无法创建流程

像这样:

转到具有我的python代码的目录:

C:\Users\xyz\test2>dir
 Volume in drive C is OSDisk

 Directory of C:\Users\xyz\test2

03/18/2019  04:30 PM    <DIR>          .
03/18/2019  04:30 PM    <DIR>          ..
02/11/2019  04:11 PM                81 test.py
02/11/2019  04:11 PM               520 test2.py
...

quickstart显示错误(我已将C:\Users\xyz\AppData\Local\Continuum\anacond a3\pkgs\sphinx-1.8.5-py37_0\添加到系统路径):

C:\Users\xyz\test2>sphinx-quickstart
Unable to create process using 'C:\Users\xyz\AppData\Local\Continuum\anacond
a3\pkgs\sphinx-1.8.5-py37_0\python.exe C:\Users\xyz\AppData\Local\Continuum\
anaconda3\pkgs\sphinx-1.8.5-py37_0\Scripts\sphinx-quickstart-script.py '

python可以工作

C:\Users\xyz\test2>python
Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Ana
conda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.

0 个答案:

没有答案