Code Monkey home page Code Monkey logo

Comments (9)

CalvinLoke avatar CalvinLoke commented on July 21, 2024

Hmm that is weird, did you do pip install -r requirements.txt?

Also would help if you could include what Python version you are running.

from bad-apple.

 avatar commented on July 21, 2024

i did and it said that i had already installed all dependencies
also i tried both using python and python3

from bad-apple.

CalvinLoke avatar CalvinLoke commented on July 21, 2024

Could you provide the specific version of python? If you are running Python 3.9.X, you might want to get 3.8.X, as cv2 does not currently support 3.9.X.

Also if you have both python and python3, install the requirements for Python 3 by using
pip3 install -r requirements.txt instead.

from bad-apple.

 avatar commented on July 21, 2024

ok, i'll try

from bad-apple.

 avatar commented on July 21, 2024

yooo it worked, thanks man

from bad-apple.

 avatar commented on July 21, 2024

actually i'm having another problem now

from bad-apple.

 avatar commented on July 21, 2024

Your option: 1
Original mp3 (0), Midi (1)
Enter 0 or 1: 1
Beginning ASCII generation...
Progress: [####################### ] 99% Frame 6571 of 6572 frames
ASCII generation completed! ASCII generation time: 33.6171236038208Traceback (most recent call last):
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 204, in
main()
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 190, in main
play_audio(path_to_file)
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 24, in play_audio
pygame.mixer.music.load(path)
pygame.error: Couldn't open /etc/timidity/freepats.cfg

do i have to edit something in the file?

from bad-apple.

 avatar commented on July 21, 2024

it looks like it can't recognize the audio format for some reason

from bad-apple.

CalvinLoke avatar CalvinLoke commented on July 21, 2024

Hi there, really sorry for replying back so late. As option 1 plays back the midi file, it requires the use of a midi player. Judging by your directory, your host system seems to be Linux-based, which I presume does not have a built-in midi player. You might want to search up on that.

Cheers

from bad-apple.

Related Issues (9)

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.