pythonファイルを実行しようとしたところ
shell
1Traceback (most recent call last): 2 File "main.py", line 1, in <module> 3 from pwn import * 4ModuleNotFoundError: No module named 'pwn'
が表示されたので、
pip install pwn
を実行して解決しようとしました。
しかし、下記のようなエラー文が発生したのでうまくいきませんでした。
どなたか、対処法を教えて頂けると幸いです。
よろしくお願いいたします。
shell
1Collecting pwn 2(省略) 3 copying psutil\_pswindows.py -> build\lib.win32-3.8\psutil 4 copying psutil\__init__.py -> build\lib.win32-3.8\psutil 5 creating build\lib.win32-3.8\psutil\tests 6 copying psutil\tests\runner.py -> build\lib.win32-3.8\psutil\tests 7 copying psutil\tests\test_aix.py -> build\lib.win32-3.8\psutil\tests 8 copying psutil\tests\test_bsd.py -> build\lib.win32-3.8\psutil\tests 9 copying psutil\tests\test_connections.py -> build\lib.win32-3.8\psutil\tests 10 copying psutil\tests\test_contracts.py -> build\lib.win32-3.8\psutil\tests 11 copying psutil\tests\test_linux.py -> build\lib.win32-3.8\psutil\tests 12 copying psutil\tests\test_memory_leaks.py -> build\lib.win32-3.8\psutil\tests 13 copying psutil\tests\test_misc.py -> build\lib.win32-3.8\psutil\tests 14 copying psutil\tests\test_osx.py -> build\lib.win32-3.8\psutil\tests 15 copying psutil\tests\test_posix.py -> build\lib.win32-3.8\psutil\tests 16 copying psutil\tests\test_process.py -> build\lib.win32-3.8\psutil\tests 17 copying psutil\tests\test_sunos.py -> build\lib.win32-3.8\psutil\tests 18 copying psutil\tests\test_system.py -> build\lib.win32-3.8\psutil\tests 19 copying psutil\tests\test_unicode.py -> build\lib.win32-3.8\psutil\tests 20 copying psutil\tests\test_windows.py -> build\lib.win32-3.8\psutil\tests 21 copying psutil\tests\__init__.py -> build\lib.win32-3.8\psutil\tests 22 copying psutil\tests\__main__.py -> build\lib.win32-3.8\psutil\tests 23 running build_ext 24 building 'psutil._psutil_windows' extension 25 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ 26 ---------------------------------------- 27 ERROR: Failed building wheel for psutil 28 Running setup.py clean for psutil 29 Building wheel for intervaltree (setup.py) ... done 30 Created wheel for intervaltree: filename=intervaltree-2.1.0-cp38-none-any.whl size=27614 sha256=414de282f42c3add3292b5957bc12dc165b24107e7ca772b103bb39ea0135bf1 31 Stored in directory: C:\Users\sa96t\AppData\Local\pip\Cache\wheels\6b\cf\b0\f7ef2d0f504d26f3e9e70c2369e5725591ccfaf67d528fcbc5 32Successfully built pwn pwntools intervaltree 33Failed to build psutil 34Installing collected packages: psutil, sortedcontainers, intervaltree, unicorn, pwntools, pwn 35 Running setup.py install for psutil ... error 36 ERROR: Command errored out with exit status 1: 37 command: 'c:\users\sa96t\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sa96t\AppData\Local\Temp\pip-install-3h54ro7n\psutil\setup.py'"'"'; __file__='"'"'C:\Users\sa96t\AppData\Local\Temp\pip-install-3h54ro7n\psutil\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\sa96t\AppData\Local\Temp\pip-record-2xwa0npm\install-record.txt' --single-version-externally-managed --compile 38 cwd: C:\Users\sa96t\AppData\Local\Temp\pip-install-3h54ro7n\psutil\ 39 Complete output (37 lines): 40 running install 41 running build 42 running build_py 43 creating build 44 creating build\lib.win32-3.8 45 creating build\lib.win32-3.8\psutil 46 copying psutil\_common.py -> build\lib.win32-3.8\psutil 47 copying psutil\_compat.py -> build\lib.win32-3.8\psutil 48 copying psutil\_psaix.py -> build\lib.win32-3.8\psutil 49 copying psutil\_psbsd.py -> build\lib.win32-3.8\psutil 50 copying psutil\_pslinux.py -> build\lib.win32-3.8\psutil 51 copying psutil\_psosx.py -> build\lib.win32-3.8\psutil 52 copying psutil\_psposix.py -> build\lib.win32-3.8\psutil 53 copying psutil\_pssunos.py -> build\lib.win32-3.8\psutil 54 copying psutil\_pswindows.py -> build\lib.win32-3.8\psutil 55 copying psutil\__init__.py -> build\lib.win32-3.8\psutil 56 creating build\lib.win32-3.8\psutil\tests 57 copying psutil\tests\runner.py -> build\lib.win32-3.8\psutil\tests 58 copying psutil\tests\test_aix.py -> build\lib.win32-3.8\psutil\tests 59 copying psutil\tests\test_bsd.py -> build\lib.win32-3.8\psutil\tests 60 copying psutil\tests\test_connections.py -> build\lib.win32-3.8\psutil\tests 61 copying psutil\tests\test_contracts.py -> build\lib.win32-3.8\psutil\tests 62 copying psutil\tests\test_linux.py -> build\lib.win32-3.8\psutil\tests 63 copying psutil\tests\test_memory_leaks.py -> build\lib.win32-3.8\psutil\tests 64 copying psutil\tests\test_misc.py -> build\lib.win32-3.8\psutil\tests 65 copying psutil\tests\test_osx.py -> build\lib.win32-3.8\psutil\tests 66 copying psutil\tests\test_posix.py -> build\lib.win32-3.8\psutil\tests 67 copying psutil\tests\test_process.py -> build\lib.win32-3.8\psutil\tests 68 copying psutil\tests\test_sunos.py -> build\lib.win32-3.8\psutil\tests 69 copying psutil\tests\test_system.py -> build\lib.win32-3.8\psutil\tests 70 copying psutil\tests\test_unicode.py -> build\lib.win32-3.8\psutil\tests 71 copying psutil\tests\test_windows.py -> build\lib.win32-3.8\psutil\tests 72 copying psutil\tests\__init__.py -> build\lib.win32-3.8\psutil\tests 73 copying psutil\tests\__main__.py -> build\lib.win32-3.8\psutil\tests 74 running build_ext 75 building 'psutil._psutil_windows' extension 76 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ 77 ---------------------------------------- 78ERROR: Command errored out with exit status 1: 'c:\users\sa96t\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sa96t\AppData\Local\Temp\pip-install-3h54ro7n\psutil\setup.py'"'"'; __file__='"'"'C:\Users\sa96t\AppData\Local\Temp\pip-install-3h54ro7n\psutil\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\sa96t\AppData\Local\Temp\pip-record-2xwa0npm\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/10/30 12:46
退会済みユーザー
2019/10/30 13:05