ntscqt
ntscqt copied to clipboard
M1 Mac support?
ModuleNotFoundError: No module named 'PyQt5'`
Maybe I can find an M1 MacBook from my friends and I can test it
I got it working by inserting Homebrew's build of pyqt5. Amend the setup instructions like so for M1:
brew install pyqt@5
git clone https://github.com/JargeZ/vhs -C ~/ntscqt
cd ~/ntscqt
python3 -m venv ./venv
cp -R /opt/homebrew/Cellar/pyqt@5/5.15.6/lib/python3.9/site-packages/* ./venv/lib/python3.9/site-packages/
source venv/bin/activate
pip install -r requirements.txt
Amend the above Homebrew path with the correct version number if or when a new version comes out. The pip install
will skip right over PyQt5 and PyQt5_sip because the copy command supplies them.
hey, I'm having trouble getting the vhs thing to work on Mac I tried everything but it keeps saying no file or directory does anyone have a different way for Mac?
Hi @vhssstudios @kode54 @psustento I tried it on my apple chip and put the working method in the readme, you can check it on your systems and tell me if it's successful or not https://github.com/JargeZ/ntscqt#for-mac-on-m1-apple-silicon-try-this
it was successful! I had to make a new file using terminal, that way it can recognize where the code is from and the file that it needs, because before that it wouldn't do that without a file or directory .
I got an issue where pip would say (at I used the Rosetta version of my terminal.pip install --ignore-installed -r requirements.m1-temp.txt
), that I installed pyqt5-sip 12.9.0. When I checked my version of pyqt5-sip, it said it was at 12.11.0. How can I make 12.11.0 be recognized than the 12.9.0?
The error above was resolved, however venv/bin/python ntscQT.py
gets an error. I think the command recognized 12.9.0. Traceback:
RuntimeError: the sip module implements API v12.0 to v12.9 but the PyQt5.QtCore module requires API v12.11
I found a solution for my Mac as to running this.
git clone https://github.com/JargeZ/ntscqt -C ntscqt
# skip above if you already downloaded
cd ~/ntscqt
python3 -m venv ./venv
source venv/bin/activate
arch -x86_64 zsh #add rossetta first to your console
pip install -r requirements.txt
# skip above if you did it already
python ntscQT.py
I got it working by inserting Homebrew's build of pyqt5. Amend the setup instructions like so for M1:
brew install pyqt@5 git clone https://github.com/JargeZ/vhs -C ~/ntscqt cd ~/ntscqt python3 -m venv ./venv cp -R /opt/homebrew/Cellar/pyqt@5/5.15.6/lib/python3.9/site-packages/* ./venv/lib/python3.9/site-packages/ source venv/bin/activate pip install -r requirements.txt
Amend the above Homebrew path with the correct version number if or when a new version comes out. The
pip install
will skip right over PyQt5 and PyQt5_sip because the copy command supplies them.
what goes in the asterisk spot?
it was successful! I had to make a new file using terminal, that way it can recognize where the code is from and the file that it needs, because before that it wouldn't do that without a file or directory .
how did u do that? i keep getting no module nothing works