質問編集履歴
1
エラーコードの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,16 +15,54 @@
|
|
15
15
|
Windows10
|
16
16
|
python 3.10.5
|
17
17
|
```
|
18
|
+
C:\Users\~~>pip install pyocr
|
19
|
+
Collecting pyocr
|
20
|
+
Using cached pyocr-0.8.3.tar.gz (67 kB)
|
21
|
+
Preparing metadata (setup.py) ... error
|
22
|
+
error: subprocess-exited-with-error
|
23
|
+
|
18
|
-
×python setup.py egg_info did not run successfully.
|
24
|
+
× python setup.py egg_info did not run successfully.
|
19
25
|
│ exit code: 1
|
20
|
-
|
26
|
+
╰─> [36 lines of output]
|
27
|
+
C:\Users\~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'use_scm_version'
|
28
|
+
warnings.warn(msg)
|
29
|
+
Traceback (most recent call last):
|
30
|
+
File "<string>", line 2, in <module>
|
31
|
+
File "<pip-setuptools-caller>", line 34, in <module>
|
32
|
+
File "C:\Users\~~~\AppData\Local\Temp\pip-install-2dvkcczq\pyocr_44d116e0a55f46619619c5e917920ee8\setup.py", line 55, in <module>
|
21
|
-
|
33
|
+
setup(
|
22
|
-
|
34
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\__init__.py", line 155, in setup
|
35
|
+
return distutils.core.setup(**attrs)
|
36
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\core.py", line 109, in setup
|
37
|
+
_setup_distribution = dist = klass(attrs)
|
38
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 459, in __init__
|
39
|
+
_Distribution.__init__(
|
40
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 293, in __init__
|
41
|
+
self.finalize_options()
|
42
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 851, in finalize_options
|
43
|
+
for ep in sorted(loaded, key=by_order):
|
44
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py", line 850, in <lambda>
|
45
|
+
loaded = map(lambda e: e.load(), filtered)
|
46
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\importlib\metadata\__init__.py", line 171, in load
|
47
|
+
module = import_module(match.group('module'))
|
48
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module
|
49
|
+
return _bootstrap._gcd_import(name[level:], package, level)
|
50
|
+
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
|
51
|
+
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
|
52
|
+
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
|
53
|
+
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
|
54
|
+
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
|
55
|
+
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
|
56
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\py2app\build_app.py", line 37, in <module>
|
57
|
+
from py2app.create_appbundle import create_appbundle
|
58
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\py2app\create_appbundle.py", line 9, in <module>
|
59
|
+
from py2app.util import make_exec, makedirs, mergecopy, mergetree, skipscm
|
60
|
+
File "C:\Users\~~~\AppData\Local\Programs\Python\Python310\lib\site-packages\py2app\util.py", line 5, in <module>
|
23
|
-
import fcntl
|
61
|
+
import fcntl
|
24
62
|
ModuleNotFoundError: No module named 'fcntl'
|
25
63
|
[end of output]
|
26
64
|
|
27
|
-
note: This error originates from a subprocess, and is likely not a problem with pip.
|
65
|
+
note: This error originates from a subprocess, and is likely not a problem with pip.
|
28
66
|
error: metadata-generation-failed
|
29
67
|
|
30
68
|
× Encountered error while generating package metadata.
|