Closed sicklife closed 3 years ago
OS version: Mac OSX python version: 3.8
command: python setup.py install
python setup.py install
error: Running sgmllib3k-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-w_9yu1iy/sgmllib3k-1.0.0/egg-dist-tmp-7wilxs9x error: Setup script exited with error: SandboxViolation: mkdir('/private/var/root/Library/Caches/com.apple.python/private/tmp/easy_install-w_9yu1iy', 511) {}
Running sgmllib3k-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-w_9yu1iy/sgmllib3k-1.0.0/egg-dist-tmp-7wilxs9x error: Setup script exited with error: SandboxViolation: mkdir('/private/var/root/Library/Caches/com.apple.python/private/tmp/easy_install-w_9yu1iy', 511) {}
It seems that this is a bug caused by sgmllib3k. Solved by pip install sgmllib3k
pip install sgmllib3k
OS version: Mac OSX python version: 3.8
command:
python setup.py install
error:
Running sgmllib3k-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-w_9yu1iy/sgmllib3k-1.0.0/egg-dist-tmp-7wilxs9x error: Setup script exited with error: SandboxViolation: mkdir('/private/var/root/Library/Caches/com.apple.python/private/tmp/easy_install-w_9yu1iy', 511) {}