Closed bknowles closed 3 years ago
Thanks for the report. I am not sure what is going wrong with that build, but grab-site would not work on Python 3.8 anyway because it has some dependencies liked namedlist that are stuck on Python 3.7.
I believe that only the Nix-based install process works at macOS at the moment. I just tested it on macOS 11 and it seemed to work, though for the Nix install I had to do:
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
After it installed I added this to ~/.zshrc
to get nix-env
in the PATH:
. /Users/USERNAME/.nix-profile/etc/profile.d/nix.sh
(followed by exec zsh
at the prompt to restart zsh)
Then nix-env
should be available to install grab-site as per the README.
Hmm. So, it sounds like I need to de-install python 3.9 and then re-install python but make sure to force it to version 3.7.
Is there a way to require python 3.7 as a pre-requisite for grab-site, so that this sort of thing should hopefully happen automatically?
@bknowles Is running grab-site in a container an option for your use case? Might be more straightforward vs environments and Python version mgmt.
I’ve done containers on AWS ECS before, but I haven’t done much with containers on macOS. I would be happy to give that a try, however.
I do recall that Mac Mini does have 64GB of RAM, so a container based solution may actually work well.
If you can provide a link to the container based solution, I’ll take a look at implementing it.
Thanks!
@brandongalbraith — I looked at all the specified installation instructions on the main page of this repo, and I didn’t find anything that looked like it was specific for a container-based installation. Am I missing something here?
@bknowles See if the Dockerfile provided in https://github.com/ArchiveTeam/grab-site/issues/159#issuecomment-675540463 works for you. Doesn't look like it ever made it into a proper /Dockerfile
for the project, but I'll try to make some time to wrap up @raspher's contribution.
@bknowles I updated both the Homebrew and Nix install instructions on https://github.com/ArchiveTeam/grab-site#install-on-macos - they worked for me on macOS 11, please let me know if they work for you on your macOS.
Let me know if I need to reopen
In trying to install grab-site according to the instructions at https://github.com/ArchiveTeam/grab-site#install-on-macos I ran into a problem in the final step. Specifically, this error:
And now I'm stuck. I'm not sure what I can do as a next step towards installing this software.