-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi - Am attempting fresh install of Pelican (3.6.3) with Anaconda Python (Python 2.7.12) on Windows 7. I've been unable to load the render_math plugin either from your repository (render_math) or from the plugins bundle (math). My error messages are different in each case which further confuses me. Help appreciated! I'll update if I resolve this.
pelicanconf.py
PLUGIN_PATHS = ["C:\pblog2\plugins"]
PLUGINS = ["math"]
build attempt
(pelicanEnv) C:\pblog2>fab build
[localhost] local: pelican -s pelicanconf.py
Traceback (most recent call last):
File "c:\anaconda2\envs\pelicanenv\lib\runpy.py", line 174, in _run_module_as_
main
"__main__", fname, loader, pkg_name)
File "c:\anaconda2\envs\pelicanenv\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Anaconda2\envs\pelicanEnv\Scripts\pelican.exe\__main__.py", line 9, i
n <module>
File "c:\anaconda2\envs\pelicanenv\lib\site-packages\pelican\__init__.py", lin
e 386, in main
pelican, settings = get_instance(args)
File "c:\anaconda2\envs\pelicanenv\lib\site-packages\pelican\__init__.py", lin
e 380, in get_instance
return cls(settings), settings
File "c:\anaconda2\envs\pelicanenv\lib\site-packages\pelican\__init__.py", lin
e 57, in __init__
self.init_plugins()
File "c:\anaconda2\envs\pelicanenv\lib\site-packages\pelican\__init__.py", lin
e 84, in init_plugins
plugin.register()
AttributeError: 'module' object has no attribute 'register'
Fatal error: local() encountered an error (return code 1) while executing 'pelic
an -s pelicanconf.py'
Aborting.
pelicanconf.py
PLUGIN_PATHS = ["C:\pblog2\plugins"]
PLUGINS = ["render_math"]
build attempt
(pelicanEnv) C:\pblog2>fab build
[localhost] local: pelican -s pelicanconf.py
ERROR: Cannot load plugin `render_math`
| ImportError: No module named render_math
Done: Processed 1 article, 0 drafts, 0 pages and 0 hidden pages in 0.88 seconds.
Done.
(pelicanEnv) C:\pblog2>
Directory Tree
(pelicanEnv) C:\pblog2>tree
C:.
├───content
├───output
├───pelican-themes
│ ├───aboutwilson
│ │ ├───static
│ │ │ ├───css
│ │ │ ├───fonts
│ │ │ ├───images
│ │ │ │ └───icons
│ │ │ ├───img
│ │ │ └───js
│ │ └───templates
│ └───mnmlist
│ ├───compass
│ │ └───src
│ ├───static
│ │ └───css
│ └───templates
└───plugins
├───math
└───render_math
(pelicanEnv) C:\pblog2>
Directory of C:\pblog2\plugins\math
26/07/2016 17:27 14,266 math.py
26/07/2016 17:27 3,197 mathjax_script_template
26/07/2016 17:27 6,929 pelican_mathjax_markdown_extension.py
26/07/2016 17:27 7,925 Readme.md
26/07/2016 17:27 20 __init__.py
Directory of C:\pblog2\plugins\render_math
26/07/2016 15:20 6 .gitignore
26/07/2016 15:20 221 Contribute.md
26/07/2016 15:20 172 devrequirements.txt
26/07/2016 15:20 100 latex-commands-example.tex
26/07/2016 15:20 3,215 mathjax_script_template
26/07/2016 15:20 6,929 pelican_mathjax_markdown_extension.py
26/07/2016 15:20 8,466 Readme.md
26/07/2016 15:20 19,146 render_math.py
27/07/2016 14:57 14,828 render_math.pyc
26/07/2016 15:20 3,365 test_math.py
26/07/2016 15:20 27 __init__.py
27/07/2016 14:57 170 __init__.pyc
Python Environment
(pelicanEnv) C:\pblog2>conda list
# packages in environment at C:\Anaconda2\envs\pelicanEnv
#
beautifulsoup4 4.3.2 <pip>
beautifulsoup4 4.4.1 py27_0
blinker 1.4 <pip>
docutils 0.12 <pip>
ecdsa 0.13 py27_0
fabric 1.11.1 py27_0
feedgenerator 1.8 <pip>
gitdb 0.6.4 <pip>
GitPython 2.0.7 <pip>
html5lib 0.999999999 <pip>
Jinja2 2.8 <pip>
Markdown 2.5.2 <pip>
MarkupSafe 0.23 <pip>
paramiko 1.16.0 py27_0
pelican 3.6.3 <pip>
pip 8.1.2 py27_0
pycrypto 2.6.1 py27_4
Pygments 2.0.2 <pip>
pyreadline 2.1 <pip>
python 2.7.12 0
python-dateutil 2.5.3 <pip>
pytz 2016.6.1 <pip>
setuptools 23.0.0 py27_0
six 1.10.0 <pip>
smartypants 1.8.6 <pip>
smmap 0.9.0 <pip>
typogrify 2.0.7 <pip>
Unidecode 0.4.19 <pip>
vs2008_runtime 9.00.30729.1 2
webencodings 0.5 <pip>
wheel 0.29.0 py27_0
Metadata
Metadata
Assignees
Labels
No labels