Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error installing on Mac (package cannot be safely installed by EasyInstall) #9

Open
WarBorg opened this issue Nov 9, 2023 · 0 comments

Comments

@WarBorg
Copy link

WarBorg commented Nov 9, 2023

hello I am on a m1 macbook pro and running MacOS Sonoma and I tried to install this app but I keep failing:

I tried creating a virtual env but I get the same error trying to instal it with the --user extra command param:

(venv3.9) myuser@mbp-m1 pyxamstore % python setup.py install

running install
running bdist_egg
running egg_info
writing pyxamstore.egg-info/PKG-INFO
writing dependency_links to pyxamstore.egg-info/dependency_links.txt
writing entry points to pyxamstore.egg-info/entry_points.txt
writing requirements to pyxamstore.egg-info/requires.txt
writing top-level names to pyxamstore.egg-info/top_level.txt
reading manifest file 'pyxamstore.egg-info/SOURCES.txt'
writing manifest file 'pyxamstore.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-universal2/egg
running install_lib
running build_py
creating build/bdist.macosx-10.9-universal2/egg
creating build/bdist.macosx-10.9-universal2/egg/pyxamstore
copying build/lib/pyxamstore/constants.py -> build/bdist.macosx-10.9-universal2/egg/pyxamstore
copying build/lib/pyxamstore/__init__.py -> build/bdist.macosx-10.9-universal2/egg/pyxamstore
copying build/lib/pyxamstore/explorer.py -> build/bdist.macosx-10.9-universal2/egg/pyxamstore
creating build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/PKG-INFO -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/entry_points.txt -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/requires.txt -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
copying pyxamstore.egg-info/top_level.txt -> build/bdist.macosx-10.9-universal2/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pyxamstore-1.0.0-py3.9.egg' and adding 'build/bdist.macosx-10.9-universal2/egg' to it
removing 'build/bdist.macosx-10.9-universal2/egg' (and everything under it)
Processing pyxamstore-1.0.0-py3.9.egg
Removing /Users/myuser/Tools/pyxamstore/venv3.9/lib/python3.9/site-packages/pyxamstore-1.0.0-py3.9.egg
Copying pyxamstore-1.0.0-py3.9.egg to /Users/myuser/Tools/pyxamstore/venv3.9/lib/python3.9/site-packages
pyxamstore 1.0.0 is already the active version in easy-install.pth
Installing pyxamstore script to /Users/myuser/Tools/pyxamstore/venv3.9/bin

Installed /Users/myuser/Tools/pyxamstore/venv3.9/lib/python3.9/site-packages/pyxamstore-1.0.0-py3.9.egg
Processing dependencies for pyxamstore==1.0.0
Searching for xxhash==3.2.0
Reading https://pypi.org/simple/xxhash/
Downloading https://files.pythonhosted.org/packages/24/90/666a4d4d96a93ddaaaa0142ef8c1bd20f7135a7f1114a894f4d6efac16c5/xxhash-3.2.0.tar.gz#sha256=1afd47af8955c5db730f630ad53ae798cf7fae0acb64cebb3cf94d35c47dd088
Best match: xxhash 3.2.0
Processing xxhash-3.2.0.tar.gz
Writing /var/folders/41/ffcfs6zj3s1_9g1tfvq3vq2m0000gn/T/easy_install-ghlkusgn/xxhash-3.2.0/setup.cfg
Running xxhash-3.2.0/setup.py -q bdist_egg --dist-dir /var/folders/41/ffcfs6zj3s1_9g1tfvq3vq2m0000gn/T/easy_install-ghlkusgn/xxhash-3.2.0/egg-dist-tmp-obe0e1mr
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
no previously-included directories found matching '.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitmodules'
error: Setup script exited with error: SandboxViolation: mkdir('/Users/myuser/Library/Caches/com.apple.python/private', 511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

any help appreciated, thx

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

No branches or pull requests

1 participant