On Mar 14, 2017, at 6:28 AM, Роман Мещеряков <romanmescheryakov@yandex.ru> wrote:I installed libffi-dev and libssl-dev Raspbian packages, and run "tox -e narrativedocs" again. Now the error was about missing "sphinx-build" executable. So I activated virtualenv where Sphinx was previously installed and again issued "tox -e narrativedocs". Now the output was:(twisted-dev-env) pi@zyuzino11:~/ColourDreams/Twisted-dev $ tox -e narrativedocsGLOB sdist-make: /home/pi/ColourDreams/Twisted-dev/setup.pynarrativedocs inst-nodeps: /home/pi/ColourDreams/Twisted-dev/build/dist/Twisted-17.1.0dev0.zipnarrativedocs installed: appdirs==1.4.3,asn1crypto==0.21.1,attrs==16.3.0,Automat==0.5.0,constantly==15.1.0,enum34==1.1.6,idna==2.5,incremental==16.10.1,ipaddress==1.0.18,packaging==16.8,pycparser==2.17,pyflakes==1.5.0,pyparsing==2.2.0,requests==2.13.0,six==1.10.0,Twisted==17.1.0.dev0,zope.interface==4.3.3narrativedocs runtests: PYTHONHASHSEED='496434055'narrativedocs runtests: commands[0] | python -c import sys; print(sys.prefix)/home/pi/ColourDreams/Twisted-dev/build/narrativedocsnarrativedocs runtests: commands[1] | python -c import sys; print(sys.exec_prefix)/home/pi/ColourDreams/Twisted-dev/build/narrativedocsnarrativedocs runtests: commands[2] | python -c import sys; print(sys.executable)/home/pi/ColourDreams/Twisted-dev/build/narrativedocs/bin/pythonnarrativedocs runtests: commands[3] | python --versionPython 2.7.9narrativedocs runtests: commands[4] | sphinx-build -aW -b html -d /home/pi/ColourDreams/Twisted-dev/docs/_build /home/pi/ColourDreams/Twisted-dev/docs /home/pi/ColourDreams/Twisted-dev/docs/_build/WARNING:test command found but not installed in testenvcmd: /home/pi/twisted-dev-env/bin/sphinx-buildenv: /home/pi/ColourDreams/Twisted-dev/build/narrativedocsMaybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.Running Sphinx v1.5.3Exception occurred:File "conf.py", line 45, in <module>ImportError: No module named twistedThe full traceback has been saved in /tmp/sphinx-err-s9PZVd.log, if you want to report the issue to the developers.Please also report this if it was a user error, so that a better error message can be provided next time.A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!ERROR: InvocationError: '/home/pi/twisted-dev-env/bin/sphinx-build -aW -b html -d /home/pi/ColourDreams/Twisted-dev/docs/_build /home/pi/ColourDreams/Twisted-dev/docs /home/pi/ColourDreams/Twisted-dev/docs/_build/'__________________________________________________________ summary __________________________________________________________ERROR: narrativedocs: commands failed(twisted-dev-env) pi@zyuzino11:~/ColourDreams/Twisted-dev $The error is "twisted" module missing. How could I fix that? Should I install Twisted Python package to my virtualenv? Now I only have Twisted Python package installed globally.
GLOB sdist-make: /Users/glyph/Projects/Twisted/setup.pynarrativedocs create: /Users/glyph/Projects/Twisted/build/narrativedocsnarrativedocs inst: /Users/glyph/Projects/Twisted/build/dist/Twisted-17.1.0.dev0.zipnarrativedocs installed: alabaster==0.7.10,amptrac==0.1,appdirs==1.4.3,asn1crypto==0.21.1,astroid==1.4.9,attrs==16.3.0,Automat==0.5.0,Babel==2.3.4,cffi==1.9.1,colorama==0.3.7,constantly==15.1.0,cryptography==1.8.1,docutils==0.13.1,enum34==1.1.6,epydoc==3.0.1,extras==1.0.0,fixtures==3.0.0,idna==2.5,imagesize==0.7.1,incremental==16.10.1,ipaddress==1.0.18,Jinja2==2.9.5,lazy-object-proxy==1.2.2,linecache2==1.0.0,logilab-common==1.2.1,MarkupSafe==1.0,packaging==16.8,pbr==2.0.0,pyasn1==0.2.3,pyasn1-modules==0.0.8,pycodestyle==2.0.0,pycparser==2.17,pydoctor==16.3.0,pyflakes==1.5.0,Pygments==2.2.0,pylint==1.5.6,pyOpenSSL==16.2.0,pyparsing==2.2.0,python-mimeparse==1.6.0,python-subunit==1.2.0,pytz==2016.10,requests==2.13.0,service-identity==16.0.0,six==1.10.0,snowballstemmer==1.2.1,Sphinx==1.5.3,testtools==2.2.0,traceback2==1.4.0,treq==16.12.0,Twisted==17.1.0.dev0,twisted-dev-tools==0.0.2,twistedchecker==0.7.1,unittest2==1.1.0,wrapt==1.10.10,zope.interface==4.3.3narrativedocs runtests: PYTHONHASHSEED='3320851011'narrativedocs runtests: commands[0] | python -c import sys; print(sys.prefix)/Users/glyph/Projects/Twisted/build/narrativedocs/bin/..narrativedocs runtests: commands[1] | python -c import sys; print(sys.exec_prefix)/Users/glyph/Projects/Twisted/build/narrativedocs/bin/..narrativedocs runtests: commands[2] | python -c import sys; print(sys.executable)/Users/glyph/Projects/Twisted/build/narrativedocs/bin/pythonnarrativedocs runtests: commands[3] | python --versionPython 2.7.12narrativedocs runtests: commands[4] | sphinx-build -aW -b html -d /Users/glyph/Projects/Twisted/docs/_build /Users/glyph/Projects/Twisted/docs /Users/glyph/Projects/Twisted/docs/_build/Running Sphinx v1.5.3making output directory...loading pickled environment... not yet createdloading intersphinx inventory from http://docs.python.org/3.3/objects.inv...intersphinx inventory has moved: http://docs.python.org/3.3/objects.inv -> https://docs.python.org/3.3/objects.invloading intersphinx inventory from http://docs.python.org/2.7/objects.inv...intersphinx inventory has moved: http://docs.python.org/2.7/objects.inv -> https://docs.python.org/2.7/objects.invbuilding [mo]: all of 0 po filesbuilding [html]: all source filesupdating environment: 135 added, 0 changed, 0 removedreading sources... [100%] words/indexlooking for now-outdated files... none foundpickling environment... donechecking consistency... donepreparing documents... donewriting output... [100%] words/indexgenerating indices... genindexwriting additional pages... searchcopying images... [100%] web/howto/../img/web-process.pngcopying downloadable files... [ 58%] core/howto/tutorial/listings/finger/twisted/plugins/finger_tutcopying downloadable files... [ 84%] core/howto/listings/systemd/www.example.com.socketactivated.secopying downloadable files... [100%] core/howto/tutorial/listings/finger/fingerPBclient.pycopying static files... donecopying extra files... donedumping search index in English (code: en) ... donedumping object inventory... donebuild succeeded._____________________________________________ summary _____________________________________________narrativedocs: commands succeededcongratulations :)