Installation problems (with solutions)
- Some OS dependencies were missing on my debian image for my unusual single board computer:
apt-get install gettext-base zlib1g-dev libffi-dev libssl-dev
- Python dependency problem.
uvicorn
doesn't have a version inrequirements.txt
. Changing touvicorn==0.8.6
inrequirements.txt
fixes the problem, because it depends on"websockets==7.*"
. websockets 7.0 is the latest version that supports python 3.5, which according to the documentation should work. uvicorn 9.0 requires websockets 8.0 which requires python >=3.6. All python dependencies should be version contrained. I've had good experience withpip-tools
.
Also, not a problem or solution, would you be interested in a patch for importing from the frontend rather than the CLI? Is there a ticket?