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

+12 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 in CSC 305 Fall 2024 by (4.9k points)

1 Answer

+5 votes
 
Best answer

"Command Prompt" worked for me on lab computers.

What error message are you getting?

answered by (5.7k points)
selected by
+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.

...