Reputation: 47
So I have done pip install ursina
in the command prompt but when I try write some code in visual studio code (like, from ursina import *
) an error appears saying;
No module named 'ursina'
Can someone please help.
Upvotes: 2
Views: 1474
Reputation: 29
IT HAS H use this code;
from ursina import *
app= Ursina()
(code)
app.run()
use capital u in ursina
Upvotes: 1
Reputation: 6802
A common reason for this problem is that you have multiple versions of Python installed. Remove the old/unneeded ones. Then, in a command prompt, navigate to the Python installation location using the command where python
, and then into the scripts folder and run pip install ursina
Upvotes: 1