On Sun, 2 Sep 2012 19:26:08 +0800
gmail <[email protected]> wrote:

> I git the sources from github and git pull to update
> 
> then cd  ~/ryu/doc/
> try to make html  but it turn error as follow:
> clw@ubuntu12:~/ryu/doc$ make  html
> sphinx-build -b html -d build/doctrees   source build/html
> Running Sphinx v1.1.3
> 
> Exception occurred:
>   File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 188, in main
>     warningiserror, tags)
>   File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 102, in 
> __init__
>     confoverrides or {}, self.tags)
>   File "/usr/lib/python2.7/dist-packages/sphinx/config.py", line 216, in 
> __init__
>     exec code in config
>   File "/home/clw/ryu/doc/source/conf.py", line 15, in <module>
>     from ryu import version as ryu_version
> ImportError: No module named ryu
> The full traceback has been saved in /tmp/sphinx-err-jA6lCl.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.
> Either send bugs to the mailing list at 
> <http://groups.google.com/group/sphinx-dev/>,
> or report them in the tracker at 
> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
> make: *** [html] Error 1

Oops, I guess that you need to set the ryu directory to PYTHONPATH.

fujita-mac:doc fujita$ pwd
/Users/fujita/git/ryu/doc
fujita-mac:doc fujita$ PYTHONPATH=.. make html


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to