回答編集履歴

1

追記1

2019/08/17 23:02

投稿

mokemokechicken
mokemokechicken

スコア948

test CHANGED
@@ -5,3 +5,23 @@
5
5
  これは、その pelican から このcloneしたリポジトリの相対PATHに正しく設定されていますか?
6
6
 
7
7
  ※ されていないと、そういうエラーになりそうですが。
8
+
9
+
10
+
11
+ -------------
12
+
13
+
14
+
15
+ ■ 追記1
16
+
17
+
18
+
19
+ > Copy the encrypt_content folder to the root of your Pelican project (or somewhere that is accessible for importing),and, add the following to your pelicanconf.py file:
20
+
21
+
22
+
23
+ とも書いてあるので、その `encrypt_content` を 元Projectのroot folderにコピーしたら、PLUGIN_PATHSは指定しなくても良いかもしれないですね。
24
+
25
+
26
+
27
+ 基本的には `PYTHONPATH` という python モジュールを import するときに探すPATHの設定の問題なのだと思います(PYTHONPATH上に `encrypt_content` ディレクトリがないから not found になる)。