Giter Site home page Giter Site logo

Comments (12)

DiamondsBattle avatar DiamondsBattle commented on July 17, 2024

Is the problem fixed ? Otherwise try reinstalling it (pip install ursina --upgrade) or try installing the dev version (pip install git+https://github.com/pokepetter/ursina --upgrade).

from ursina.

Desiro444 avatar Desiro444 commented on July 17, 2024

Is the problem fixed ? Otherwise try reinstalling it (pip install ursina --upgrade) or try installing the dev version (pip install git+https://github.com/pokepetter/ursina --upgrade).

Problem still persists. Just checked, can confirm this isn't a pip problem.

from ursina.

DiamondsBattle avatar DiamondsBattle commented on July 17, 2024

Try checking if the first import in C:\Users\[redacted]\AppData\Local\Programs\Python\Python[version]\Lib\site-packages\ursina\__init__.py is from ursina.main import Ursina and that in the main.py file a class Ursina(ShowBase) exists.

from ursina.

Desiro444 avatar Desiro444 commented on July 17, 2024

Try checking if the first import in C:\Users\[redacted]\AppData\Local\Programs\Python\Python[version]\Lib\site-packages\ursina\__init__.py is from ursina.main import Ursina and that in the main.py file a class Ursina(ShowBase) exists.

Both exist.

from ursina.

DiamondsBattle avatar DiamondsBattle commented on July 17, 2024

Try not using venv if you are.

from ursina.

DiamondsBattle avatar DiamondsBattle commented on July 17, 2024

Fixed ?

from ursina.

Desiro444 avatar Desiro444 commented on July 17, 2024

No, I thought I sent a reply but it appears it didn't go through.

I wasn't using venv in the first place.

from ursina.

pokepetter avatar pokepetter commented on July 17, 2024

Do you run it from your editor or cmd? Might be an issue there.
Other than that, make sure you're running the correct Python if you have several versions installed.

from ursina.

Desiro444 avatar Desiro444 commented on July 17, 2024

I ran it from the default Python IDE.

Version was checked (repeatedly), all correct. I'm currently abroad, I will try installing this module on another computer and see if it runs there when I get back in a few days time.

from ursina.

DiamondsBattle avatar DiamondsBattle commented on July 17, 2024

That's pretty strange 🤔... If you weren't using venv you could try using it.

from ursina.

Desiro444 avatar Desiro444 commented on July 17, 2024

Tested on home computer, worked. Only difference between the two was the python version - it appears ursina does not work on python 3.8.

tl'dr: use python 3.7 and not 3.8.

Closing issue as problem is "fixed".

from ursina.

dprajapati199 avatar dprajapati199 commented on July 17, 2024

It's not working on my machine first time, I just change my file name which i running the code from ursina.py to main.py and now it's works, also i m running it on venv enviroment. I think you also make naming mistake

from ursina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.