pashango2 / sphinx-qsp

sphinx-quickstart-plus
https://pashango2.github.io/sphinx-qsp/
Other
8 stars 5 forks source link

インストール時に'ask_user'のインポートに失敗する #13

Open ghost opened 6 years ago

ghost commented 6 years ago

pip install sphinx-quickstart-plusを実行した際に、以下のようにエラーが出てインストールが失敗します。

Collecting sphinx-quickstart-plus
  Downloading sphinx-quickstart-plus-0.6.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/07/vwm1dqbj6v14fw0d1h_dg5100000gn/T/pip-build-qgeoex32/sphinx-quickstart-plus/setup.py", line 9, in <module>
        import sphinx_qsp
      File "/private/var/folders/07/vwm1dqbj6v14fw0d1h_dg5100000gn/T/pip-build-qgeoex32/sphinx-quickstart-plus/sphinx_qsp/__init__.py", line 4, in <module>
        from .quickstart_plus import main, __version__
      File "/private/var/folders/07/vwm1dqbj6v14fw0d1h_dg5100000gn/T/pip-build-qgeoex32/sphinx-quickstart-plus/sphinx_qsp/quickstart_plus.py", line 32, in <module>
        from sphinx.quickstart import ask_user, generate, do_prompt, nonempty, boolean
    ImportError: cannot import name 'ask_user'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/07/vwm1dqbj6v14fw0d1h_dg5100000gn/T/pip-build-qgeoex32/sphinx-quickstart-plus/
Rowing0914 commented 6 years ago

is this fixed?? I am still getting same error..

Env macOS: 10.12.6 Python: 3.6.5

Rowing0914 commented 6 years ago

I believe that I could solve the issue in this PR. please feel free to refer to here!

https://github.com/pashango2/sphinx-qsp/pull/14