Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Install CySecureTools via pip on macOS Big Sur - KBA233000

Install CySecureTools via pip on macOS Big Sur - KBA233000

ArunKumarChoul
Employee
Employee
50 questions asked 50 sign-ins 25 sign-ins

Version:**

Question:
Why do I get an exception error while trying to install CySecureTools on macOS?

 ...

    distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation:
    mkdir('/private/var/root/Library/Caches/com.apple.python/private/tmp/easy_install-            y8c1npmz', 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.

Answer:
This is likely caused by an outdated pip package. To resolve this issue, upgrade pip using the following command in a command-line terminal:

python3 -m pip install --upgrade pip

0 Likes
387 Views