Open OnlyYaQ opened 1 year ago
我用了这个命令pip freeze > requirements.txt,现在没有错误了但我还是打不开页面,API key都填好了
这次我在相应的文件夹运行命令,出现了这个错误 error: subprocess-exited-with-error
× Building wheel for regex (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\regex copying regex_3__init__.py -> build\lib.win-amd64-cpython-311\regex copying regex_3\regex.py -> build\lib.win-amd64-cpython-311\regex copying regex_3_regex_core.py -> build\lib.win-amd64-cpython-311\regex copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-311\regex running build_ext building 'regex._regex' extension creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release creating build\temp.win-amd64-cpython-311\Release\regex_3 cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Python311\include -IC:\Python311\Include /Tcregex_3_regex.c /Fobuild\temp.win-amd64-cpython-311\Release\regex_3_regex.obj error: command 'cl.exe' failed: None [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for regex Failed to build regex ERROR: Could not build wheels for regex, which is required to install pyproject.toml-based projects
现在变成了这样
看错了,其实错误没有变
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'