Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Difficulties installing on Macbook Air macOS Big Sur M1 Chip #32

Open
grumpyp opened this issue Oct 25, 2021 · 1 comment
Open

Difficulties installing on Macbook Air macOS Big Sur M1 Chip #32

grumpyp opened this issue Oct 25, 2021 · 1 comment

Comments

@grumpyp
Copy link

grumpyp commented Oct 25, 2021

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).```
@tasos-py
Copy link
Owner

tasos-py commented Oct 26, 2021

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants