ntscqt icon indicating copy to clipboard operation
ntscqt copied to clipboard

M1 Mac support?

Open dither-dng opened this issue 3 years ago • 12 comments

ModuleNotFoundError: No module named 'PyQt5'`

dither-dng avatar Dec 18 '21 03:12 dither-dng

Maybe I can find an M1 MacBook from my friends and I can test it

JargeZ avatar Dec 20 '21 21:12 JargeZ

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.

kode54 avatar Jan 10 '22 03:01 kode54

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?

vhssstudios avatar May 03 '22 22:05 vhssstudios

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

JargeZ avatar May 08 '22 10:05 JargeZ

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 .

vhssstudios avatar May 08 '22 15:05 vhssstudios

I got an issue where pip would say (at 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? I used the Rosetta version of my terminal.

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

AlphaBeta906 avatar Jun 29 '22 05:06 AlphaBeta906

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

AlphaBeta906 avatar Jul 11 '22 06:07 AlphaBeta906

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?

corneliusdevun avatar Aug 27 '22 11:08 corneliusdevun

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

noreticence avatar Nov 23 '22 03:11 noreticence