Replies: 3 comments 5 replies
-
I'm not an expert on Mac, but it seems to me you're not checking the official PyPi repository, but some apple substitute. The clue is in the line: As far as I understand, there's a difference between the Python toolset that comes with macOS, and the one provided by Brew. Apple seems to inject itself into the flow in the former. I don't know much about what it is they do there. The install instructions are designed for use with Brew. See https://novelwriter.readthedocs.io/en/stable/setup_mac.html Ideally, there should be a proper installer for Mac, but I don't have direct access to a Mac, so I require outside help to provide a better way of installing novelWriter on that OS. Edit: Updated link |
Beta Was this translation helpful? Give feedback.
-
I just got it working on Mac OS (M1, Apple Silicon). I suspect this will work with an Intel Mac too though. It was quite the challenge. I tried various approaches but ultimately what I got working was using home-brew in combination with homebrew's pip:
|
Beta Was this translation helpful? Give feedback.
-
It’s the pyqt that I was struggling with. Pip/conda didn’t help me. Installing it with the ***@***.***” notation with homebrew did the trick. This very well may just be a temporary thing until more widespread support is established for the new apple chip architecture. I figured I’d share in case it helps the next poor unfortunate. Thanks for the great package. Works very nicely.
John
… On Jun 19, 2021, at 1:22 PM, Veronica Berglyd Olsen ***@***.***> wrote:
Yes, as the documentation states, you need to install Python and pip from homebrew.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
{I'm new to local builds from GitHub -- assist requested}
I'm having trouble building on MacOS. Same failure on virtual.
I have done these steps successfully:
√ downloaded ZIP of novelWriter-main and unzip'd to a user subdirectory = ../novelWriter-main
√ Create virtual environment:
√ python3 -m venv novelWriter-main/
√ source novelWriter-main/bin/activate
√ python3 --version = Python 3.7.6
√ pip --version = pip 19.2.3
but, when I "pip3 install --user -r requirements.txt" I get these errors:
Looking in indexes: https://pypi.apple.com/simple
Collecting pyqt5>=5.2.1 (from -r requirements.txt (line 1))
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10b823a90>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/pyqt5/
ERROR: Could not find a version that satisfies the requirement pyqt5>=5.2.1 (from -r requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for pyqt5>=5.2.1 (from -r requirements.txt (line 1))
Similar failure on simple "pip install novelwriter"
Looking in indexes: https://pypi.apple.com/simple
Collecting novelwriter
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10b23ea90>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/novelwriter/
ERROR: Could not find a version that satisfies the requirement novelwriter (from versions: none)
ERROR: No matching distribution found for novelwriter
Beta Was this translation helpful? Give feedback.
All reactions