質問編集履歴

3

追加情報

2020/12/28 09:08

投稿

Tomato_leaf
Tomato_leaf

スコア173

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,35 @@
8
8
 
9
9
  ```ここに言語を入力
10
10
 
11
+ WARNING: Package(s) not found: django
12
+
13
+ Traceback (most recent call last):
14
+
15
+ File "/home/hogehohe/.local/bin/pa_autoconfigure_django.py", line 47, in <module>
16
+
17
+ main(arguments['<git-repo-url>'], arguments['--domain'], arguments['--python'], nuke=arguments.get('--nuke'))
18
+
19
+ File "/home/hogehohe/.local/bin/pa_autoconfigure_django.py", line 36, in main
20
+
21
+ project.update_settings_file()
22
+
23
+ File "/home/hogehohe/.local/lib/python3.6/site-packages/pythonanywhere/django_project.py", line 74, in update_settings_file
24
+
25
+ new_django = version.parse(self.virtualenv.get_version("django")) >= version.parse("3.1")
26
+
27
+ File "/home/hogehohe/.local/lib/python3.6/site-packages/pythonanywhere/virtualenvs.py", line 32, in get_version
28
+
29
+ output = subprocess.check_output(commands).decode()
30
+
31
+ File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
32
+
33
+ **kwargs).stdout
34
+
35
+ File "/usr/lib/python3.6/subprocess.py", line 438, in run
36
+
37
+ output=stdout, stderr=stderr)
38
+
11
- subprocess.CalledProcessError: Command '['/home/hogehoge/.virtualenvs/hogehoge.pythonanywhere.com/bin/pip', 'show', 'django']' returned non-zero exit status 1.
39
+ subprocess.CalledProcessError: Command '['/home/hogehohe/.virtualenvs/hogehohe.pythonanywhere.com/bin/pip', 'show', 'django']' returned non-zero exit status 1.
12
40
 
13
41
  ```
14
42
 

2

追加情報

2020/12/28 09:08

投稿

Tomato_leaf
Tomato_leaf

スコア173

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  ```ここに言語を入力
42
42
 
43
- $ pa_autoconfigure_django.py --python=3.8 https://github.com/[ユーザー名]/[プロジェクト名].git --nuke
43
+ $ pa_autoconfigure_django.py https://github.com/[ユーザー名]/[プロジェクト名].git --nuke
44
44
 
45
45
  ```
46
46
 

1

追加情報

2020/12/24 09:09

投稿

Tomato_leaf
Tomato_leaf

スコア173

test CHANGED
File without changes
test CHANGED
File without changes