Coder Social home page Coder Social logo

Comments (4)

merwok avatar merwok commented on May 18, 2024

Do you have libsdl2 installed?

from pyxel.

amalrkc avatar amalrkc commented on May 18, 2024

Ohh My bad! I did not catch that step in the README.

I did install sdl with sudo apt-get install libsdl2-2.0-0 as mentioned here.

The CLI seems to be working but fails run scripts due to some problem with the audio subsystem.

pyxel-error-06 Screenshot 2023-11-24 023830
pyxel-error-07 Screenshot 2023-11-24 024019

I'm not sure if this is a side effect of trying to run scripts on top of Windows WSL.

from pyxel.

merwok avatar merwok commented on May 18, 2024

Probably!
I don’t know if WSL is meant for scripts only; working with system resources like audio or inputs would require a translation layer.
Question: why not use a windows terminal to run pyxel games on windows?

from pyxel.

amalrkc avatar amalrkc commented on May 18, 2024

Okay, there was something broken with my Python installation on Windows.

The Python interpreter was working fine, but for some reason pip was not installed.

No matter how many I reinstalled or repaired my Python installation, I simply couldn't get it to work, which is why I decided to to try Ubuntu.

After trying py -m ensurepip --upgrade and py -m pip install -U pip as mentioned here, I finally got it installed and working.

But even after that I couldn't properly install Pyxel and couple of errors kept showing up.

Turns out, running Windows Terminal as Administrator and then using pip solves the problem

PS: It would be nice to run Pyxel as a Single Binary Executable without needing to install dependencies, like TIC-80 and PICO-8.

from pyxel.

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.