syurein commited on
Commit
d9afec2
·
1 Parent(s): b6a3bf4

dotenvの問題の解決3

Browse files
Files changed (1) hide show
  1. requirements.txt +77 -94
requirements.txt CHANGED
@@ -1,95 +1,78 @@
1
- [cite_start]annotated-types==0.7.0 [cite: 1]
2
- # easyocr はコメントアウトまたは削除し、新しいバージョンを試すか、依存関係の調整を試みます。
3
- # easyocr # バージョン指定なしで最新版を試すか、Pillow/opencv-python-headlessと互換性のある特定のバージョンを指定する
4
- # 例: easyocr==0.1.0 (ただし、これは古いバージョンで、他の依存関係と衝突する可能性あり)
5
-
6
- [cite_start]anyio==4.6.2.post1 [cite: 1]
7
- [cite_start]certifi==2024.8.30 [cite: 1]
8
- [cite_start]charset-normalizer==3.4.0 [cite: 1]
9
- [cite_start]click==8.1.7 [cite: 1]
10
- [cite_start]colorama==0.4.6 [cite: 1]
11
- [cite_start]contourpy==1.3.0 [cite: 1]
12
- [cite_start]cycler==0.12.1 [cite: 1]
13
- [cite_start]diffusers==0.31.0 [cite: 1]
14
- [cite_start]fastapi==0.115.4 [cite: 1]
15
- [cite_start]filelock==3.16.1 [cite: 1]
16
- [cite_start]fire==0.5.0 [cite: 1]
17
- [cite_start]fonttools==4.54.1 [cite: 1]
18
- [cite_start]fsspec==2024.10.0 [cite: 1]
19
- [cite_start]futures==3.0.5 [cite: 1]
20
- [cite_start]h11==0.14.0 [cite: 1]
21
- [cite_start]huggingface-hub==0.26.2 [cite: 1]
22
- [cite_start]idna==3.10 [cite: 1]
23
- [cite_start]importlib_metadata==8.5.0 [cite: 1]
24
- [cite_start]Jinja2==3.1.4 [cite: 1]
25
- [cite_start]joblib==1.4.2 [cite: 1]
26
- [cite_start]kiwisolver==1.4.7 [cite: 1]
27
- [cite_start]MarkupSafe==3.0.2 [cite: 1]
28
- [cite_start]matplotlib==3.9.2 [cite: 1]
29
- [cite_start]mpmath==1.3.0 [cite: 1]
30
- [cite_start]nest-asyncio==1.6.0 [cite: 1]
31
- [cite_start]networkx==3.4.2 [cite: 1]
32
- [cite_start]numpy==1.26.4 [cite: 1]
33
-
34
- # opencv-python と opencv-python-headless の両方が指定されているのは冗長です。
35
- # どちらか一方(headless推奨、GUI不要なため)のみを残します。
36
- # opencv-python-headless のバージョンは easyocr との互換性を考慮して調整が必要。
37
- # 最新の easyocr (例えば 1.7.0 以上) はより新しい OpenCV に対応している可能性があります。
38
- # ここでは一旦、衝突しない可能性のある新しい opencv-python-headless を残し、easyocr の調整で対応します。
39
- # もし easyocr が動かない場合は、opencv-python-headless のバージョンを下げる必要があります。
40
  # opencv-python==4.10.0.84 # コメントアウトまたは削除 (headlessを使用するため)
41
- [cite_start]opencv-python-headless==4.10.0.84 [cite: 1]
42
-
43
- [cite_start]packaging==24.1 [cite: 1]
44
- [cite_start]pandas==2.2.3 [cite: 1]
45
-
46
- # Pillow のバージョンも easyocr との競合が発生しています。
47
- # easyocr のバージョンを更新することで解決を目指します。
48
- [cite_start]Pillow==9.5.0 [cite: 1]
49
-
50
- [cite_start]psutil==6.1.0 [cite: 1]
51
- [cite_start]py-cpuinfo==9.0.0 [cite: 1]
52
- [cite_start]pycocotools==2.0.8 [cite: 1]
53
- [cite_start]pydantic==2.9.2 [cite: 1]
54
- [cite_start]pydantic_core==2.23.4 [cite: 1]
55
- [cite_start]pyngrok==7.2.1 [cite: 1]
56
- [cite_start]pyparsing==3.2.0 [cite: 1]
57
- [cite_start]python-dateutil==2.9.0.post0 [cite: 1]
58
- [cite_start]python-multipart==0.0.17 [cite: 1]
59
- [cite_start]pytz==2024.2 [cite: 1]
60
- [cite_start]PyYAML==6.0.2 [cite: 1]
61
- [cite_start]regex==2024.9.11 [cite: 1]
62
- [cite_start]requests==2.32.3 [cite: 1]
63
- [cite_start]safetensors==0.4.5 [cite: 1]
64
- [cite_start]scikit-learn==1.5.2 [cite: 1]
65
- [cite_start]scipy==1.14.1 [cite: 1]
66
- [cite_start]seaborn==0.13.2 [cite: 1]
67
- [cite_start]setuptools==75.3.0 [cite: 1]
68
- [cite_start]simple-lama-inpainting==0.1.2 [cite: 1]
69
- [cite_start]six==1.16.0 [cite: 1]
70
- [cite_start]sniffio==1.3.1 [cite: 1]
71
- [cite_start]starlette==0.41.2 [cite: 1]
72
- [cite_start]supervision==0.9.0 [cite: 1] # 最後に重複しているので、ここではコメントアウトまたは削除
73
- [cite_start]sympy==1.13.1 [cite: 1]
74
- [cite_start]termcolor==2.5.0 [cite: 1]
75
- [cite_start]threadpoolctl==3.5.0 [cite: 1]
76
- [cite_start]tokenizers==0.20.3 [cite: 1]
77
- [cite_start]torch==2.5.1 [cite: 1]
78
- [cite_start]torchvision==0.20.1 [cite: 1]
79
- [cite_start]tqdm==4.66.6 [cite: 1]
80
- [cite_start]transformers==4.46.2 [cite: 1]
81
- [cite_start]typing_extensions==4.12.2 [cite: 1]
82
- [cite_start]tzdata==2024.2 [cite: 1]
83
- [cite_start]ultralytics==8.3.23 [cite: 1]
84
- [cite_start]ultralytics-thop==2.0.10 [cite: 1]
85
- [cite_start]urllib3==2.2.3 [cite: 1]
86
- [cite_start]uvicorn==0.32.0 [cite: 1]
87
- [cite_start]zipp==3.20.2 [cite: 1]
88
-
89
- # 重複を解消し、easyocr の依存関係を考慮して最後に配置
90
- [cite_start]easyocr [cite: 1] # ここでeasyocrを最新版でインストールすることを試みる
91
- [cite_start]supervision [cite: 1] # 重複を解消
92
- [cite_start]onnxruntime [cite: 1]
93
- [cite_start]google-genai [cite: 1]
94
- [cite_start]python-dotenv [cite: 1] # dotenv ではなく python-dotenv に修正
95
- [cite_start]moondream [cite: 1]
 
1
+ annotated-types==0.7.0
2
+ easyocr
3
+ anyio==4.6.2.post1
4
+ certifi==2024.8.30
5
+ charset-normalizer==3.4.0
6
+ click==8.1.7
7
+ colorama==0.4.6
8
+ contourpy==1.3.0
9
+ cycler==0.12.1
10
+ diffusers==0.31.0
11
+ fastapi==0.115.4
12
+ filelock==3.16.1
13
+ fire==0.5.0
14
+ fonttools==4.54.1
15
+ fsspec==2024.10.0
16
+ futures==3.0.5
17
+ h11==0.14.0
18
+ huggingface-hub==0.26.2
19
+ idna==3.10
20
+ importlib_metadata==8.5.0
21
+ Jinja2==3.1.4
22
+ joblib==1.4.2
23
+ kiwisolver==1.4.7
24
+ MarkupSafe==3.0.2
25
+ matplotlib==3.9.2
26
+ mpmath==1.3.0
27
+ nest-asyncio==1.6.0
28
+ networkx==3.4.2
29
+ numpy==1.26.4
 
 
 
 
 
 
 
 
 
 
30
  # opencv-python==4.10.0.84 # コメントアウトまたは削除 (headlessを使用するため)
31
+ opencv-python-headless==4.10.0.84
32
+ packaging==24.1
33
+ pandas==2.2.3
34
+ Pillow==9.5.0
35
+ psutil==6.1.0
36
+ py-cpuinfo==9.0.0
37
+ pycocotools==2.0.8
38
+ pydantic==2.9.2
39
+ pydantic_core==2.23.4
40
+ pyngrok==7.2.1
41
+ pyparsing==3.2.0
42
+ python-dateutil==2.9.0.post0
43
+ python-multipart==0.0.17
44
+ pytz==2024.2
45
+ PyYAML==6.0.2
46
+ regex==2024.9.11
47
+ requests==2.32.3
48
+ safetensors==0.4.5
49
+ scikit-learn==1.5.2
50
+ scipy==1.14.1
51
+ seaborn==0.13.2
52
+ setuptools==75.3.0
53
+ simple-lama-inpainting==0.1.2
54
+ six==1.16.0
55
+ sniffio==1.3.1
56
+ starlette==0.41.2
57
+ #supervision==0.9.0 # 最後に重複しているので、ここではコメントアウトまたは削除
58
+ sympy==1.13.1
59
+ termcolor==2.5.0
60
+ threadpoolctl==3.5.0
61
+ tokenizers==0.20.3
62
+ torch==2.5.1
63
+ torchvision==0.20.1
64
+ tqdm==4.66.6
65
+ transformers==4.46.2
66
+ typing_extensions==4.12.2
67
+ tzdata==2024.2
68
+ ultralytics==8.3.23
69
+ ultralytics-thop==2.0.10
70
+ urllib3==2.2.3
71
+ uvicorn==0.32.0
72
+ zipp==3.20.2
73
+ easyocr # ここでeasyocrを最新版でインストールすることを試みる
74
+ supervision # 重複を解消
75
+ onnxruntime
76
+ google-genai
77
+ python-dotenv # dotenv ではなく python-dotenv に修正
78
+ moondream