Fastapi: Unable to install FastAPI on Windows 10 using Python 3.8.1

Created on 26 Jul 2020  路  3Comments  路  Source: tiangolo/fastapi

I create a virtualenv then ran the command
pip install fastapi[all] but I keep going this error message

Collecting orjson<4.0.0,>=3.2.1; extra == "all"
Using cached orjson-3.3.0.tar.gz (654 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
Caused by:
process didn't exit successfully: rustc - --crate-name ___ --print=file-names -Z mutable-noalias --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg (exit code: 1)
--- stderr

See screenhot.

error

question

All 3 comments

This is a orjson issue. Might be related to https://github.com/ijl/orjson/issues/33. Please follow the issue template.

This is a orjson issue. Might be related to ijl/orjson#33. Please follow the issue template.

This fixed it. Thanks very much.

Thanks for the help here @phy25 ! :clap: :bow:

Thanks for reporting back and closing the issue :+1:

Was this page helpful?
0 / 5 - 0 ratings