Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+7 votes

I am trying to get the "pip install fastapi uvicorn websockets" to work on my laptop, but I can't seem to get it to install properly on git bash or Windows PowerShell. Is there any others that I should try?

asked ago in CSC 305 Fall 2024 by (1.6k points)

1 Answer

+5 votes

"Command Prompt" worked for me on lab computers.

What error message are you getting?

answered ago by (3.5k points)
+2

Traceback (most recent call last):
File "C:\git\ChatterBoxExample\chatserver\main.py", line 11, in

from fastapi import FastAPI, WebSocket

ModuleNotFoundError: No module named 'fastapi'

This is the error I have been getting even though I install the fastapi. I wonder if I'm not downloading it to the right folder? But I don't know.

...