[issue15822] installed python may fail incorrectly trying to rebuild lib2to3 grammar pickles
Bun Hin added the comment: I have similar problem with python 3.7.0 or 3.7.2, how to fix my installation to get it work? please help Thanks -- nosy: +bunhin ___ Python tracker <https://bugs.python.org/issue15822> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'
Bun Hin added the comment: is there any better way to configure other than as root? because this python3.7 may be used by other user too in a more strict environment, compile it other than root (sudo) may not be allowed also. using a user may have permission issue as well right? i am not sure here -- ___ Python tracker <https://bugs.python.org/issue36313> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'
New submission from Bun Hin : I get this error while installing some packages with pip3 inside an environment using centOS 7 with python 3.7.2 as parallel install. step to reproduce: (dependancies are installed) rm -rf /usr/local/lib/python3.7 cd /root/ wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar -xzf Python-3.7.2.tgz cd Python-3.7.2 ./configure --prefix=/usr/local --enable-shared --enable-optimizations LDFLAGS="-Wl,-rpath /usr/local/lib" make make altinstall adduser a-user su - a-user /usr/local/lib/python3.7 -m venv user-envn source user-envn/bin/activate pi3 install --upgrade pip pip install pyusb==1.0.0 result with error: Collecting pyusb==1.0.0 Using cached https://files.pythonhosted.org/packages/8a/19/66fb48a4905e472f5dfeda3a1bafac369fbf6d6fc5cf55b780864962652d/PyUSB-1.0.0.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/pyusb.egg-info writing pip-egg-info/pyusb.egg-info/PKG-INFO writing dependency_links to pip-egg-info/pyusb.egg-info/dependency_links.txt writing top-level names to pip-egg-info/pyusb.egg-info/top_level.txt writing manifest file 'pip-egg-info/pyusb.egg-info/SOURCES.txt' error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle' please help how to solve this -- components: 2to3 (2.x to 3.x conversion tool) messages: 338069 nosy: bunhin priority: normal severity: normal status: open title: error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle' versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue36313> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com