Search-Engines-Scraper icon indicating copy to clipboard operation
Search-Engines-Scraper copied to clipboard

Difficulties installing on Macbook Air macOS Big Sur M1 Chip

Open grumpyp opened this issue 2 years ago • 1 comments

I recently switched to a Mac machine and having trouble to install the library here.

  • MacBook Air
  • macOS Big Sur
  • M1 Chip

Maybe anyone can help out?

running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: '/Library/Python/3.8/site-packages/test-easy-install-41837.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /Library/Python/3.8/site-packages/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).```

grumpyp avatar Oct 25 '21 16:10 grumpyp

Sorry to hear that. I don't have a Mac, so I don't know if I can help much, but have you tried sudo? Your issue seems similar to this https://stackoverflow.com/questions/13973287/cant-create-or-remove-files-in-install-directory-difficulty-installing-pip and sudo worked for them.

And here is another SO post, more similar to your issue, https://stackoverflow.com/questions/14967032/error-when-installing-python-settuptools-no-such-file-or-directory-usr-loca

tasos-py avatar Oct 26 '21 03:10 tasos-py