Giter Club home page Giter Club logo

Comments (3)

Drygord avatar Drygord commented on August 22, 2024 3

Solved.. you need to update the submodule first:

(rtmidi)$ git submodule update --init

Please, include this in the windows installation guide so it saves someone else 3 hours.

from rtmidi.

sagamusix avatar sagamusix commented on August 22, 2024

RtMidi does not use git submodules. It's the other way around: the project you were trying to build includes RtMidi as a submodule, and since you didn't initialize git submodules, it couldn't find RtMidi.

from rtmidi.

Erriez avatar Erriez commented on August 22, 2024

Build instructions:

# Install Visual Studio Build Tools https://wiki.python.org/moin/WindowsCompilers

# Open Windows PowerShell

python -m pip install -U virtualenv
python -m virtualenv rtmidi
rtmidi\Scripts\activate.ps1

(rtmidi) pip install -U pip setuptools
(rtmidi) pip install Cython

(rtmidi) git clone https://github.com/SpotlightKid/python-rtmidi.git
(rtmidi) cd python-rtmidi
(rtmidi) git submodule update --init

(rtmidi) python setup.py install

(rtmidi) cd ..
(rtmidi) python
	import rtmidi
	rtmidi.API_WINDOWS_MM in rtmidi.get_compiled_api()
		True
    midiout = rtmidi.MidiOut()
    midiout.get_ports()
		['Microsoft GS Wavetable Synth 0']

from rtmidi.

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.