How to force Sphinx to use Python 3.x interpreter

后端 未结 9 907
遇见更好的自我
遇见更好的自我 2020-12-05 14:56

I try to create documentation for a project written with Python 3.x. Sphinx is the tool I want to use and, according to the official site, its last version 1.1.2 is

9条回答
  •  眼角桃花
    2020-12-05 15:16

    When I searched for an answer, this is the site that came up over and over. I'm thinking the answer is not easy to find because everyone else understands sphinx better than I can figure out. But if any is still searching for an answer, this is what eventually I ended up with:

    sudo apt-get update

    sudo apt-get install python3

    sudo apt-get install sqlite3

    sudo apt-get install idle3

    sudo apt-get install python3-pip

    sudo apt-get install python3-docutils

    sudo apt-get install python3-jinja2

    sudo apt-get install python3-pygments

    sudo pip3 install Sphinx

    The key was I was missing the fact that there was a pip3. I also update the system before adding a package as habit.

提交回复
热议问题