Reputation: 31
I am starting Ursina out, and I opened the terminal and did pip3 install ursina, and it worked, and now in VS code im running the basic code but no windows are popping up. I am on mac OS Big Sur. This is my code.
from ursina import *
app = Ursina()
test_square = Entity(model = 'circle', color = color.red)
app.run()
Upvotes: 2
Views: 889
Reputation: 38
It mostly works when you're reinstalling setuptools and use PyCharm.
Upvotes: 0
Reputation: 29
Platforms
• Windows • Linux • Mac (not officially supported, but will most likely work)
Upvotes: 0
Reputation: 13
Try using a virtual machine, it will work. Ursina only supports Window's and Linux, but a virtual machine should do.
Upvotes: 0
Reputation: 41
As per the documents, Ursina doesn't properly work on Mac but I had a mac and I tried to open the window and it worked, you can try reinstalling your IDE and Ursina, if it doesn't work, there's some problem in your MacOS.
Upvotes: 2
Reputation: 2814
According to the official docs, Ursina
works best on Windows and Linux.
Platforms
• Windows
• Linux
This is weird however, because I ran the code on Mac and got the window properly. Do check if any errors are being thrown, and also check make sure your launch.json
file looks something like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "C:/Users/Sanghun/AppData/Local/Programs/Python/Python35-32/python.exe",
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},
If that you've checked these things, it is likely a problem with your OS.
Upvotes: 1