fastapi / fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Home Page:https://fastapi.tiangolo.com/

Repository from Github https://github.comfastapi/fastapiRepository from Github https://github.comfastapi/fastapi

python3.13 install uvicorn fault

zaochayeming opened this issue · comments

Privileged issue

  • I'm @tiangolo or he asked me directly to create an issue here.

Issue Content

o activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (527371)...
: Collecting click==8.1.7 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 1))
: Using cached click-8.1.7-py3-none-any.whl (97 kB)
: Collecting h11==0.14.0 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 2))
: Using cached h11-0.14.0-py3-none-any.whl (58 kB)
: Collecting httptools==0.6.1 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 3))
: Using cached httptools-0.6.1.tar.gz (191 kB)
: Preparing metadata (setup.py): started
: Preparing metadata (setup.py): finished with status 'done'
: Collecting python-dotenv==1.0.1 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 4))
: Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
: Collecting pyyaml==6.0.2 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 5))
: Using cached PyYAML-6.0.2-cp313-cp313-win_amd64.whl (156 kB)
: Collecting uvicorn==0.31.1 (from uvicorn==0.31.1->-r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 6))
: Using cached uvicorn-0.31.1-py3-none-any.whl (63 kB)
: Collecting watchfiles==0.24.0 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 7))
: Using cached watchfiles-0.24.0-cp313-none-win_amd64.whl (276 kB)
: Collecting websockets==13.1 (from -r c:\users\starlee\appdata\local\temp\pipenv-dbv5y_0a-requirements\pipenv-2599a94r-hashed-reqs.txt (line 8))
: Using cached websockets-13.1-cp313-cp313-win_amd64.whl (159 kB)
: Building wheels for collected packages: httptools
: Building wheel for httptools (setup.py): started
: Building wheel for httptools (setup.py): finished with status 'error'
: Running setup.py clean for httptools
: Failed to build httptools
: error: subprocess-exited-with-error
:
: × python setup.py bdist_wheel did not run successfully.
: │ exit code: 1
: ╰─> [66 lines of output]
: C:\Users\starlee.virtualenvs\test-uSjHFhYi\Lib\site-packages\setuptools_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
: warnings.warn(msg)
: running bdist_wheel
: running build
: running build_py
: creating build\lib.win-amd64-cpython-313\httptools
: copying httptools_version.py -> build\lib.win-amd64-cpython-313\httptools
: copying httptools_init_.py -> build\lib.win-amd64-cpython-313\httptools
: creating build\lib.win-amd64-cpython-313\httptools\parser
: copying httptools\parser\errors.py -> build\lib.win-amd64-cpython-313\httptools\parser
: copying httptools\parser_init_.py -> build\lib.win-amd64-cpython-313\httptools\parser
: running egg_info
: writing httptools.egg-info\PKG-INFO
: writing dependency_links to httptools.egg-info\dependency_links.txt
: writing requirements to httptools.egg-info\requires.txt
: writing top-level names to httptools.egg-info\top_level.txt
: reading manifest file 'httptools.egg-info\SOURCES.txt'
: reading manifest template 'MANIFEST.in'
: adding license file 'LICENSE'
: writing manifest file 'httptools.egg-info\SOURCES.txt'
: C:\Users\starlee.virtualenvs\test-uSjHFhYi\Lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'httptools.parser' is absent from the packages configuration.
: !!
:
: ********************************************************************************
: ############################
: # Package would be ignored #
: ############################
: Python recognizes 'httptools.parser' as an importable package[^1],
: but it is absent from setuptools' packages configuration.
:
: This leads to an ambiguous overall configuration. If you want to distribute this
: package, please make sure that 'httptools.parser' is explicitly added
: to the packages configuration field.
:
: Alternatively, you can also rely on setuptools' discovery methods
: (for example by using find_namespace_packages(...)/find_namespace:
: instead of find_packages(...)/find:).
:
: You can read more about "package discovery" on setuptools documentation page:
:
: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
:
: If you don't want 'httptools.parser' to be distributed and are
: already explicitly excluding 'httptools.parser' via
: find_namespace_packages(...)/find_namespace or find_packages(...)/find,
: you can try to use exclude_package_data, or include-package-data=False in
: combination with a more fine grained package-data configuration.
:
: You can read more about "package data files" on setuptools documentation page:
:
: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
:
:
: [^1]: For Python, any directory (with suitable naming) can be imported,
: even if it does not contain any .py files.
: On the other hand, currently there is no concept of package data
: ********************************************************************************
:
: !!
: check.warn(importable)
:
: running build_ext
: building 'httptools.parser.parser' extension
: error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
:
:
: note: This error originates from a subprocess, and is likely not a problem with pip.
: ERROR: Failed building wheel for httptools
: ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (httptools)
ERROR: Couldn't install package: [1m{}[0m
[33mPackage installation failed...[0m