SIGNATEのコンペでsimpletransformersをインストールしようと思い,pip install simpletransformers でインストールしてみたんですが途中からエラーが出てきてインストールできません。改善策はありますでしょうか?まだ最後の方に余ってしまっていて必要であればコメントで送りますのでどうかよろしくお願いします。
error
1 2文字数制限のため、最初の方は省略させていただきます 3 4Bu-g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/rikubon/opt/anaconda3/include -arch x86_64 -I/Users/rikubon/opt/anaconda3/include -arch x86_64 -DWATCHDOG_VERSION_STRING="0.10.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=10 -DWATCHDOG_VERSION_BUILD=3 -I/Users/rikubon/opt/anaconda3/include/python3.7m -c src/watchdog_fsevents.c -o build/temp.macosx-10.9-x86_64-3.7/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-nullability-completeness -Wno-nullability-extension -Wno-newline-eof -Wno-error=unused-command-line-argument 5 cc1: error: '-Wno-error=unused-command-line-argument': no option '-Wunused-command-line-argument'; did you mean '-Wunused-dummy-argument'? 6 cc1: note: unrecognized command-line option '-Wno-newline-eof' may have been intended to silence earlier diagnostics 7 cc1: note: unrecognized command-line option '-Wno-nullability-extension' may have been intended to silence earlier diagnostics 8 cc1: note: unrecognized command-line option '-Wno-nullability-completeness' may have been intended to silence earlier diagnostics 9 error: command 'gcc' failed with exit status 1 10 ---------------------------------------- 11 ERROR: Failed building wheel for watchdog 12 Running setup.py clean for watchdog 13 Building wheel for subprocess32 (setup.py) ... done 14 Created wheel for subprocess32: filename=subprocess32-3.5.4-py3-none-any.whl size=6487 sha256=5f424355845a3c8aae9df5e427ebcca61cda66d8d3d280d5aa2bdd8832c4d9fa 15 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/50/ca/fa/8fca8d246e64f19488d07567547ddec8eb084e8c0d7a59226a 16 Building wheel for blinker (setup.py) ... done 17 Created wheel for blinker: filename=blinker-1.4-py3-none-any.whl size=13451 sha256=32ad6cb022baf140dc751fab4377d8018df0c68c776c25449ea10e90a7aa8678 18 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/22/f5/18/df711b66eb25b21325c132757d4314db9ac5e8dabeaf196eab 19 Building wheel for sacremoses (setup.py) ... done 20 Created wheel for sacremoses: filename=sacremoses-0.0.43-py3-none-any.whl size=893258 sha256=88aad81b9e76b2187f4b5825983fee5ad7e453997b912b036130b4e6148ea754 21 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/69/09/d1/bf058f7d6fa0ecba2ce7c66be3b8d012beb4bf61a6e0c101c0 22 Building wheel for graphql-core (setup.py) ... done 23 Created wheel for graphql-core: filename=graphql_core-1.1-py3-none-any.whl size=104649 sha256=6d5e5a916478999bc4a9a8bcffa233505acaae3630dc3f8f18d27ebac20e913a 24 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/6b/fd/8c/a20dd591c1a554070cc33fb58042867e6ac1c85395abe2e57a 25 Building wheel for promise (setup.py) ... done 26 Created wheel for promise: filename=promise-2.3-py3-none-any.whl size=21494 sha256=851e63943545a1a921532130273f9a48716e8ccc20c1ec0396aa313fa69f279f 27 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/29/93/c6/762e359f8cb6a5b69c72235d798804cae523bbe41c2aa8333d 28 Building wheel for pathtools (setup.py) ... done 29 Created wheel for pathtools: filename=pathtools-0.1.2-py3-none-any.whl size=8785 sha256=de1c5abdc01cf725497b0f168f15174ace0342a256af614ce9583cd37afcefc4 30 Stored in directory: /Users/rikubon/Library/Caches/pip/wheels/3e/31/09/fa59cef12cdcfecc627b3d24273699f390e71828921b2cbba2 31Successfully built regex seqeval nvidia-ml-py3 gql subprocess32 blinker sacremoses graphql-core promise pathtools 32Failed to build watchdog 33ERROR: transformers 3.0.2 has requirement tokenizers==0.8.1.rc1, but you'll have tokenizers 0.8.1 which is incompatible. 34Installing collected packages: tokenizers, sentry-sdk, nvidia-ml-py3, promise, graphql-core, gql, configparser, docker-pycreds, pathtools, watchdog, shortuuid, smmap, gitdb, GitPython, subprocess32, wandb, tensorboardx, altair, validators, pydeck, enum-compat, jmespath, botocore, blinker, pyarrow, tzlocal, toml, s3transfer, boto3, astor, base58, streamlit, sentencepiece, regex, sacremoses, transformers, Keras, seqeval, simpletransformers 35 Running setup.py install for watchdog ... error 36 ERROR: Command errored out with exit status 1: 37 command: /Users/rikubon/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xk/2b3mxvbj57v6glhpsycw7cgr0000gn/T/pip-install-p8pq1e7a/watchdog/setup.py'"'"'; __file__='"'"'/private/var/folders/xk/2b3mxvbj57v6glhpsycw7cgr0000gn/T/pip-install-p8pq1e7a/watchdog/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/xk/2b3mxvbj57v6glhpsycw7cgr0000gn/T/pip-record-8cetxwws/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rikubon/opt/anaconda3/include/python3.7m/watchdog 38 cwd: /private/var/folders/xk/2b3mxvbj57v6glhpsycw7cgr0000gn/T/pip-install-p8pq1e7a/watchdog/ 39 Complete output (54 lines): 40 running install 41 running build 42 running build_py 43 creating build 44 creating build/lib.macosx-10.9-x86_64-3.7 45 creating build/lib.macosx-10.9-x86_64-3.7/watchdog 46 copying src/watchdog/watchmedo.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog 47 copying src/watchdog/version.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog 48 copying src/watchdog/events.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog 49 copying src/watchdog/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog 50 creating build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 51 copying src/watchdog/utils/unicode_paths.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 52 copying src/watchdog/utils/compat.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 53 copying src/watchdog/utils/win32stat.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 54 copying src/watchdog/utils/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 55 copying src/watchdog/utils/dirsnapshot.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 56 copying src/watchdog/utils/delayed_queue.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 57 copying src/watchdog/utils/platform.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 58 copying src/watchdog/utils/bricks.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 59 copying src/watchdog/utils/echo.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/utils 60 creating build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 61 copying src/watchdog/observers/fsevents.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 62 copying src/watchdog/observers/inotify.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 63 copying src/watchdog/observers/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 64 copying src/watchdog/observers/api.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 65 copying src/watchdog/observers/inotify_buffer.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 66 copying src/watchdog/observers/winapi.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 67 copying src/watchdog/observers/read_directory_changes.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 68 copying src/watchdog/observers/kqueue.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 69 copying src/watchdog/observers/inotify_c.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 70 copying src/watchdog/observers/polling.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 71 copying src/watchdog/observers/fsevents2.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/observers 72 creating build/lib.macosx-10.9-x86_64-3.7/watchdog/tricks 73 copying src/watchdog/tricks/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/watchdog/tricks 74 running egg_info 75 writing src/watchdog.egg-info/PKG-INFO 76 writing dependency_links to src/watchdog.egg-info/dependency_links.txt 77 writing entry points to src/watchdog.egg-info/entry_points.txt 78 writing requirements to src/watchdog.egg-info/requires.txt 79 writing top-level names to src/watchdog.egg-info/top_level.txt 80 reading manifest file 'src/watchdog.egg-info/SOURCES.txt' 81 reading manifest template 'MANIFEST.in' 82 warning: no files found matching '*.h' under directory 'src' 83 writing manifest file 'src/watchdog.egg-info/SOURCES.txt' 84 running build_ext 85 building '_watchdog_fsevents' extension 86 creating build/temp.macosx-10.9-x86_64-3.7 87 creating build/temp.macosx-10.9-x86_64-3.7/src 88 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/rikubon/opt/anaconda3/include -arch x86_64 -I/Users/rikubon/opt/anaconda3/include -arch x86_64 -DWATCHDOG_VERSION_STRING="0.10.3" -DWATCHDOG_VERSION_MAJOR=0 -DWATCHDOG_VERSION_MINOR=10 -DWATCHDOG_VERSION_BUILD=3 -I/Users/rikubon/opt/anaconda3/include/python3.7m -c src/watchdog_fsevents.c -o build/temp.macosx-10.9-x86_64-3.7/src/watchdog_fsevents.o -std=c99 -pedantic -Wall -Wextra -fPIC -Wno-nullability-completeness -Wno-nullability-extension -Wno-newline-eof -Wno-error=unused-command-line-argument 89 cc1: error: '-Wno-error=unused-command-line-argument': no option '-Wunused-command-line-argument'; did you mean '-Wunused-dummy-argument'? 90 cc1: note: unrecognized command-line option '-Wno-newline-eof' may have been intended to silence earlier diagnostics 91 cc1: note: unrecognized command-line option '-Wno-nullability-extension' may have been intended to silence earlier diagnostics 92 cc1: note: unrecognized command-line option '-Wno-nullability-completeness' may have been intended to silence earlier diagnostics 93 error: command 'gcc' failed with exit status 1 94 ---------------------------------------- 95 96
OSの種類、pythonのバージョンは何ですか?
あなたの回答
tips
プレビュー