You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ tar -czvf rtmidi-2.3.4.tar.gz rtmidi-2.3.4
$ pip install rtmidi-2.3.4.tar.gz
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing f:\mypython\ms2mmleditor\rtmidi-2.3.4.tar.gz
Installing collected packages: rtmidi
Running setup.py install for rtmidi ... done
Successfully installed rtmidi-2.3.4
This time I installed successfully, but got an ImportError:
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rtmidi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "F:\mypython\ms2mmlEditor\.venv-mmlparser\lib\site-packages\rtmidi\__init__.py", line 1, in <module>
from ._rtmidi import *
ImportError: DLL load failed while importing _rtmidi: 找不到指定的模块。
So I have no idea how to install pyrtmidi without MSVC.
Environment
OS: Microsoft Windows 10 Home (v10.0.18363) 64bit
Python: Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32 (Installed with exe)
$ cat "D:\Python38\Lib\distutils\distutils.cfg"
[build]
compiler=mingw32
$ gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered:
This can be resolved by setting python34 to python38, not entirely sure how setup.py files work, but i'm assuming removing python34 from the list would be fine.
Discription
Then I downloaded this package and modified setup.py:
(btw, I don't know why it is "python34")
This time I installed successfully, but got an ImportError:
So I have no idea how to install pyrtmidi without MSVC.
Environment
OS: Microsoft Windows 10 Home (v10.0.18363) 64bit
Python: Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32 (Installed with exe)
The text was updated successfully, but these errors were encountered: