I'm trying to use Ursina to make a game. I installed it on my Ubuntu/Debian terminal using "pip install ursina". It seemed to install fine, but any time I try to run anything using ursina, I get this error message:
I'm quite confused and I've tried uninstalling / reinstalling it a few times, but to no avail. Can someone help me?
I got the same problem and solved with:
pip install python3-xlib
Related
(sorry for my English), i'm trying to use ursina on visual studio but when i run my code the IDE show a file: texture.py and and in particular the error: no module named 'direct'
I try to install direct but there are other error and i don't understand why for me this module is necessary and in internet i don't found of it nothing.
thanks for the help
sorry,the start of the error
the error
the error
direct is part of panda3d, which is a dependency of ursina. I suggest making sure it installed correctly. Maybe try reinstalling.
thank you very very much, my probem was that with pip panda3d have some problems end i decided to install it by the online site and now my program go.
i never thought that the problem was in panda3d(that contain direct) installation.
It seems panda3d is not correctly installed. Direct is part of panda3d and ursina is made over panda3d, so if direct is not correctly installed, then ursina will not run.
I recommend you to reinstall ursina and panda3d (latest version):
replace pip with your pip version/command
sudo is optional
(sudo) pip3 install ursina
(sudo) pip3 install panda3d
If you want the latest version of ursina, you can do (sudo) pip install git+https://github.com/pokepetter/ursina.git
Best wishes, Lixt
I have tried using the command line to run the import, I have reinstalled python, I've checked my interpreter, I have spent hours of searching, and nothing works. I have tried using pip install -U discord-py-interactions and pip install -U discord-py-slash-command but neither of them have worked. It just keeps saying ModuleNotFoundError: No module named 'discord_slash'. Does anyone have any idea what's going on? Thanks for any help.
Try with pip install discord-py-slash-command
Hello guys ive been facing a problem with my ubuntu server.
Sooo i installed mysql-server and things like that so i can create database.
Then I installed python and pip, flask installation went correctly and when im trying to install it again it says requirement already satisfied so thats cool
BUT
When im trying to install mysql-connector or mysql-connecto-python installaion is looping you cann see it
I can install mysql-connector as many times as i want and it doesnt install.
What can I do in this situation? Anybody was facing this kind of problem?
Error is posted here as pastebin, it's very long
'''https://pastebin.com/8ssgGNdL'''
(edit paste bin expired)
https://pastebin.com/BRuPeifp
I've since tried installing packages using pip3 and still get similar results. I haven't changed anything since the last time I installed 'requests'
I'm sorry if i'm asking an annoying question. I've googled similar questions but nothing seems to help. If anyone can point me in the right place to look and solve this for my self I will be very grateful.
The error states:
fatal error: 'SDL.h' file not found
and
For help with compilation see:', 'https://www.pygame.org/wiki/MacCompile'
It looks like one or more of the SDL dependencies is missing.
Have you installed SDL dependencies mentioned on that page using HomeBrew?
It seems like it's crashing while installing PyGame. According the PyGame's Getting Started page there seems to be some issues with newer version of OS X.
Quoting from the page:
If your examples aren't running and you are using a recent version of
Mac OS X; try this line to install pygame instead:
python3 -m pip install -U pygame==2.0.0.dev6 --user
Also looking over the Internet, the problem might be because of Python3.8 itself, and therefore requiring a newer version to resolve the issue.
~ Solved ~
pygame doesn't work with python3.8 so I had to use:
pipenv install pygame==2.0.0.dev6
when testing by trying to install other packages such as requests, I was met with the same error. This error was infact the error for pygame repeating itself (I don't understand why)
I've been trying to install MusicBot for Discord and got the above error when I ran it. I also get the same error while trying to install RedBot or doing pip install unroll. I'm on a Windows 10 computer and have Python 3.7.0b4. I've looked at other people's solutions but they either used sudo or just didn't work for me. I've already tried pip install --upgrade setuptools as well as pip install ez-setup and neither of them have done anything. Any help would be appreciated.
I managed to fix my main issue, the music bot. It was probably because it only works with python 3.5.4, not 3.7 which is what I used to have. However, pip install unroll still doesn't work and continues to give me the same error, even on another computer that's also running Ubuntu. But I'm not too worried about that so I'm not looking to fix it. Thanks for the help though.