Skip to content

Instantly share code, notes, and snippets.

@tedthetrumpet
Created April 25, 2023 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tedthetrumpet/dc16a8d40aa6ddc7ce4bfcbdacbace85 to your computer and use it in GitHub Desktop.
Save tedthetrumpet/dc16a8d40aa6ddc7ce4bfcbdacbace85 to your computer and use it in GitHub Desktop.
Last login: Tue Apr 25 14:51:07 on console
jsimon@jsairm ~ % cd /Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine
jsimon@jsairm sardine % fishery
zsh: command not found: fishery
jsimon@jsairm sardine % pyenv version
3.11.3 (set by /Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine/.python-version)
jsimon@jsairm sardine % python -m fishery
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine/fishery/__main__.py", line 1, in <module>
from fishery.console import ConsoleManager
File "/Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine/fishery/console.py", line 14, in <module>
from appdirs import user_data_dir
ModuleNotFoundError: No module named 'appdirs'
jsimon@jsairm sardine % pyenv global 3.11.3
jsimon@jsairm sardine % pyenv version
3.11.3 (set by /Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine/.python-version)
jsimon@jsairm sardine % git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
zsh: no such file or directory: git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
jsimon@jsairm sardine % cd ..
jsimon@jsairm github_repositories % ls
Perang-Gagal osc-repeater testpage
estuarystuff sardine tidal-doc
hydra superDirtSocket tidal-jsgit
megra-public-samples supercollider-jsgit ziffers-python
jsimon@jsairm github_repositories % cd sardine
jsimon@jsairm sardine % python -m pip install git+https://github.com/SpotlightKid/python-rtmidi.git@eb16ab3268b29b94cd2baa6bfc777f5cf5f908ba#egg=python-rtmidi
Collecting python-rtmidi
Using cached python_rtmidi-1.4.9.dev0-cp311-cp311-macosx_13_0_arm64.whl
jsimon@jsairm sardine % pip install --find-links https://thegamecracks.github.io/python-rtmidi-wheels/ .
Looking in links: https://thegamecracks.github.io/python-rtmidi-wheels/
Processing /Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting pygtail>=0.14.0 (from sardine-system==0.2.1)
Using cached pygtail-0.14.0-py3-none-any.whl (14 kB)
Collecting Flask-SocketIO>=5.3.2 (from sardine-system==0.2.1)
Using cached Flask_SocketIO-5.3.3-py3-none-any.whl (17 kB)
Collecting Flask-Cors>=3.0 (from sardine-system==0.2.1)
Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting Flask>=2.2.2 (from sardine-system==0.2.1)
Using cached Flask-2.2.3-py3-none-any.whl (101 kB)
Collecting Click>=8.1.3 (from sardine-system==0.2.1)
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting LinkPython-extern>=1.0.2 (from sardine-system==0.2.1)
Using cached LinkPython-extern-1.0.2.tar.gz (1.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting python-rtmidi>=1.4.9 (from sardine-system==0.2.1)
Using cached python-rtmidi-1.4.9.tar.gz (251 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting inquirerpy>=0.3.4 (from sardine-system==0.2.1)
Using cached InquirerPy-0.3.4-py3-none-any.whl (67 kB)
Collecting easing-functions>=1.0.4 (from sardine-system==0.2.1)
Using cached easing_functions-1.0.4-py3-none-any.whl (15 kB)
Collecting mido>=1.2 (from sardine-system==0.2.1)
Using cached mido-1.2.10-py2.py3-none-any.whl (51 kB)
Collecting osc4py3>=1.0.8 (from sardine-system==0.2.1)
Using cached osc4py3-1.0.8.tar.gz (79 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting appdirs>=1.4 (from sardine-system==0.2.1)
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting psutil>=5.9 (from sardine-system==0.2.1)
Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl (246 kB)
Requirement already satisfied: rich>=12.5 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from sardine-system==0.2.1) (13.3.4)
Requirement already satisfied: lark>=1.1 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from sardine-system==0.2.1) (1.1.5)
Collecting exceptiongroup>=1.0.4 (from sardine-system==0.2.1)
Using cached exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Collecting uvloop>=0.16 (from sardine-system==0.2.1)
Using cached uvloop-0.17.0-cp311-cp311-macosx_10_9_universal2.whl (2.1 MB)
Collecting Werkzeug>=2.2.2 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached Werkzeug-2.2.3-py3-none-any.whl (233 kB)
Collecting Jinja2>=3.0 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting itsdangerous>=2.0 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Six (from Flask-Cors>=3.0->sardine-system==0.2.1)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-socketio>=5.0.2 (from Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached python_socketio-5.8.0-py3-none-any.whl (56 kB)
Collecting pfzy<0.4.0,>=0.3.1 (from inquirerpy>=0.3.4->sardine-system==0.2.1)
Using cached pfzy-0.3.4-py3-none-any.whl (8.5 kB)
Collecting prompt-toolkit<4.0.0,>=3.0.1 (from inquirerpy>=0.3.4->sardine-system==0.2.1)
Using cached prompt_toolkit-3.0.38-py3-none-any.whl (385 kB)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from rich>=12.5->sardine-system==0.2.1) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from rich>=12.5->sardine-system==0.2.1) (2.15.1)
Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->Flask>=2.2.2->sardine-system==0.2.1)
Using cached MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_universal2.whl (17 kB)
Requirement already satisfied: mdurl~=0.1 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich>=12.5->sardine-system==0.2.1) (0.1.2)
Requirement already satisfied: wcwidth in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from prompt-toolkit<4.0.0,>=3.0.1->inquirerpy>=0.3.4->sardine-system==0.2.1) (0.2.6)
Collecting bidict>=0.21.0 (from python-socketio>=5.0.2->Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached bidict-0.22.1-py3-none-any.whl (35 kB)
Collecting python-engineio>=4.3.0 (from python-socketio>=5.0.2->Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached python_engineio-4.4.1-py3-none-any.whl (53 kB)
Building wheels for collected packages: sardine-system, LinkPython-extern, osc4py3, python-rtmidi
Building wheel for sardine-system (pyproject.toml) ... done
Created wheel for sardine-system: filename=sardine_system-0.2.1-py3-none-any.whl size=412657 sha256=ce04db9db6f3be3e87fa5a5ca14ef8bae010391042cb960963dbf44b0e5edf58
Stored in directory: /private/var/folders/lg/3c1b35bj7v7685m629_tfqkh0000gn/T/pip-ephem-wheel-cache-xtp79buc/wheels/b1/72/f0/a15c71e617a47de27ee4f486aa9b3d63448b75b2f95988ed0f
Building wheel for LinkPython-extern (pyproject.toml) ... done
Created wheel for LinkPython-extern: filename=LinkPython_extern-1.0.2-cp311-cp311-macosx_13_0_arm64.whl size=157666 sha256=15ad83fa7483474dd2a8fd9f0036c58cc2c339e796e469b4f22edf7e585cd520
Stored in directory: /Users/jsimon/Library/Caches/pip/wheels/62/09/1e/8faa88eb87882d87aef6a2d088495c83913a59d3923b15eb1b
Building wheel for osc4py3 (pyproject.toml) ... done
Created wheel for osc4py3: filename=osc4py3-1.0.8-py3-none-any.whl size=99507 sha256=37fda0db175e990f5c5885ed1173f9068d974e809440d70986a24a0abbfb9834
Stored in directory: /Users/jsimon/Library/Caches/pip/wheels/e3/39/32/09667f133a8adc2df3167be5ec40433532137a249c2789909f
Building wheel for python-rtmidi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for python-rtmidi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
<string>:27: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
<string>:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13.1-arm64-cpython-311
creating build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/version.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/midiconstants.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/__init__.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/midiutil.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
running egg_info
writing python_rtmidi.egg-info/PKG-INFO
writing dependency_links to python_rtmidi.egg-info/dependency_links.txt
writing top-level names to python_rtmidi.egg-info/top_level.txt
reading manifest file 'python_rtmidi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '*.rst.in'
no previously-included directories found matching 'ci'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.rst'
writing manifest file 'python_rtmidi.egg-info/SOURCES.txt'
running build_ext
building 'rtmidi._rtmidi' extension
creating build/temp.macosx-13.1-arm64-cpython-311
creating build/temp.macosx-13.1-arm64-cpython-311/src
creating build/temp.macosx-13.1-arm64-cpython-311/src/rtmidi
clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -D__RTMIDI_SILENCE_WARNINGS__ -D__MACOSX_CORE__ -Isrc/rtmidi -I/Users/jsimon/.pyenv/versions/3.11.3/include/python3.11 -c src/_rtmidi.cpp -o build/temp.macosx-13.1-arm64-cpython-311/src/_rtmidi.o -frtti
src/_rtmidi.cpp:243:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-rtmidi
Successfully built sardine-system LinkPython-extern osc4py3
Failed to build python-rtmidi
ERROR: Could not build wheels for python-rtmidi, which is required to install pyproject.toml-based projects
jsimon@jsairm sardine % python -m pip install .
Processing /Users/jsimon/Library/CloudStorage/Dropbox/github_repositories/sardine
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting pygtail>=0.14.0 (from sardine-system==0.2.1)
Using cached pygtail-0.14.0-py3-none-any.whl (14 kB)
Collecting Flask-SocketIO>=5.3.2 (from sardine-system==0.2.1)
Using cached Flask_SocketIO-5.3.3-py3-none-any.whl (17 kB)
Collecting Flask-Cors>=3.0 (from sardine-system==0.2.1)
Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting Flask>=2.2.2 (from sardine-system==0.2.1)
Using cached Flask-2.2.3-py3-none-any.whl (101 kB)
Collecting Click>=8.1.3 (from sardine-system==0.2.1)
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting LinkPython-extern>=1.0.2 (from sardine-system==0.2.1)
Using cached LinkPython_extern-1.0.2-cp311-cp311-macosx_13_0_arm64.whl
Collecting python-rtmidi>=1.4.9 (from sardine-system==0.2.1)
Using cached python-rtmidi-1.4.9.tar.gz (251 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting inquirerpy>=0.3.4 (from sardine-system==0.2.1)
Using cached InquirerPy-0.3.4-py3-none-any.whl (67 kB)
Collecting easing-functions>=1.0.4 (from sardine-system==0.2.1)
Using cached easing_functions-1.0.4-py3-none-any.whl (15 kB)
Collecting mido>=1.2 (from sardine-system==0.2.1)
Using cached mido-1.2.10-py2.py3-none-any.whl (51 kB)
Collecting osc4py3>=1.0.8 (from sardine-system==0.2.1)
Using cached osc4py3-1.0.8-py3-none-any.whl
Collecting appdirs>=1.4 (from sardine-system==0.2.1)
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting psutil>=5.9 (from sardine-system==0.2.1)
Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl (246 kB)
Requirement already satisfied: rich>=12.5 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from sardine-system==0.2.1) (13.3.4)
Requirement already satisfied: lark>=1.1 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from sardine-system==0.2.1) (1.1.5)
Collecting exceptiongroup>=1.0.4 (from sardine-system==0.2.1)
Using cached exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Collecting uvloop>=0.16 (from sardine-system==0.2.1)
Using cached uvloop-0.17.0-cp311-cp311-macosx_10_9_universal2.whl (2.1 MB)
Collecting Werkzeug>=2.2.2 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached Werkzeug-2.2.3-py3-none-any.whl (233 kB)
Collecting Jinja2>=3.0 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting itsdangerous>=2.0 (from Flask>=2.2.2->sardine-system==0.2.1)
Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Six (from Flask-Cors>=3.0->sardine-system==0.2.1)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-socketio>=5.0.2 (from Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached python_socketio-5.8.0-py3-none-any.whl (56 kB)
Collecting pfzy<0.4.0,>=0.3.1 (from inquirerpy>=0.3.4->sardine-system==0.2.1)
Using cached pfzy-0.3.4-py3-none-any.whl (8.5 kB)
Collecting prompt-toolkit<4.0.0,>=3.0.1 (from inquirerpy>=0.3.4->sardine-system==0.2.1)
Using cached prompt_toolkit-3.0.38-py3-none-any.whl (385 kB)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from rich>=12.5->sardine-system==0.2.1) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from rich>=12.5->sardine-system==0.2.1) (2.15.1)
Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->Flask>=2.2.2->sardine-system==0.2.1)
Using cached MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_universal2.whl (17 kB)
Requirement already satisfied: mdurl~=0.1 in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich>=12.5->sardine-system==0.2.1) (0.1.2)
Requirement already satisfied: wcwidth in /Users/jsimon/.pyenv/versions/3.11.3/lib/python3.11/site-packages (from prompt-toolkit<4.0.0,>=3.0.1->inquirerpy>=0.3.4->sardine-system==0.2.1) (0.2.6)
Collecting bidict>=0.21.0 (from python-socketio>=5.0.2->Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached bidict-0.22.1-py3-none-any.whl (35 kB)
Collecting python-engineio>=4.3.0 (from python-socketio>=5.0.2->Flask-SocketIO>=5.3.2->sardine-system==0.2.1)
Using cached python_engineio-4.4.1-py3-none-any.whl (53 kB)
Building wheels for collected packages: sardine-system, python-rtmidi
Building wheel for sardine-system (pyproject.toml) ... done
Created wheel for sardine-system: filename=sardine_system-0.2.1-py3-none-any.whl size=412654 sha256=5be44355cbe992ca928d6cc7b69fc2b9b98faade19c4b810e787933c72cfc37e
Stored in directory: /private/var/folders/lg/3c1b35bj7v7685m629_tfqkh0000gn/T/pip-ephem-wheel-cache-hsjwilsl/wheels/b1/72/f0/a15c71e617a47de27ee4f486aa9b3d63448b75b2f95988ed0f
Building wheel for python-rtmidi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for python-rtmidi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
<string>:27: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
<string>:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13.1-arm64-cpython-311
creating build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/version.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/midiconstants.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/__init__.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
copying rtmidi/midiutil.py -> build/lib.macosx-13.1-arm64-cpython-311/rtmidi
running egg_info
writing python_rtmidi.egg-info/PKG-INFO
writing dependency_links to python_rtmidi.egg-info/dependency_links.txt
writing top-level names to python_rtmidi.egg-info/top_level.txt
reading manifest file 'python_rtmidi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '*.rst.in'
no previously-included directories found matching 'ci'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.rst'
writing manifest file 'python_rtmidi.egg-info/SOURCES.txt'
running build_ext
building 'rtmidi._rtmidi' extension
creating build/temp.macosx-13.1-arm64-cpython-311
creating build/temp.macosx-13.1-arm64-cpython-311/src
creating build/temp.macosx-13.1-arm64-cpython-311/src/rtmidi
clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -D__RTMIDI_SILENCE_WARNINGS__ -D__MACOSX_CORE__ -Isrc/rtmidi -I/Users/jsimon/.pyenv/versions/3.11.3/include/python3.11 -c src/_rtmidi.cpp -o build/temp.macosx-13.1-arm64-cpython-311/src/_rtmidi.o -frtti
src/_rtmidi.cpp:243:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-rtmidi
Successfully built sardine-system
Failed to build python-rtmidi
ERROR: Could not build wheels for python-rtmidi, which is required to install pyproject.toml-based projects
jsimon@jsairm sardine % python --version
Python 3.11.3
jsimon@jsairm sardine % python
Python 3.11.3 (main, Apr 25 2023, 05:56:06) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rtmidi
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment