I wanted to try Hugo Jupyter with a fresh setup Hugo site. The init command failed.
What I Did
I installed Hugo Jupyter via pip.
I tried to setup Hugo Jupyter and run the command hugo_jupyter --init on the command line.
The command gives the following traceback:
$ hugo_jupyter --init
Traceback (most recent call last):
File "/home/user/.virtualenvs/hugo_jupyter/bin/hugo_jupyter", line 11, in <module>
sys.exit(main())
File "/home/user/.virtualenvs/hugo_jupyter/lib/python3.5/site-packages/hugo_jupyter/cli.py", line 33, in main
with open(Path(Path(__file__).parent, '__fabfile.py')) as fp:
TypeError: invalid file: PosixPath('/home/user/.virtualenvs/hugo_jupyter/lib/python3.5/site-packages/hugo_jupyter/__fabfile.py')
Description
I wanted to try Hugo Jupyter with a fresh setup Hugo site. The init command failed.
What I Did
hugo_jupyter --init
on the command line.