Hello,
I want to build Nikola locally, and I've been facing a problem. I looked
around for developer docs and was not able to find any.
The error I get is a common one. So I'd like to know how to setup my local
development environment.
*Problem:*I'm able to 'init' a site using: python3 -m nikola.__main__
<site_name>
But when I try to build the site by: cd <site_name> && python3 -m
nikola.__main__ build
I get :
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 151, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name)
File "/usr/lib/python3.4/runpy.py", line 104, in _get_module_details
spec = importlib.util.find_spec(mod_name)
File "/usr/lib/python3.4/importlib/util.py", line 86, in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
File "/home/ubuntu/workspace/nikola/nikola.py", line 59, in <module>
from post import Post # NOQA
File "/home/ubuntu/workspace/nikola/post.py", line 44, in <module>
from . import utils
SystemError: Parent module '' not loaded, cannot perform relative import
My $PYTHONPATH includes the nikola_root, nikola_root/nikola,
nikola_root/plugins
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.