[New-bugs-announce] [issue33903] Can't use lib2to3 with embeddable zip file

Mickaël S. report at bugs.python.org
Tue Jun 19 10:47:37 EDT 2018


New submission from Mickaël S. <contact at tiger-222.fr>:

As stated by https://bugs.python.org/issue24960, the bug should be fixed in 3.6.5 (if it is the same, not sure).

Simple reproduction steps are:

1) Download and unzip python-3.6.5-embed-win32.zip.

2) Install pip (OK):
C:\Users\TestW764\python-3.6.5-embed-win32> python get-pip.py
Collecting pip
  Using cached https://files.pythonhosted.org/packages/0f/74/.../pip-10.0.1-py2.py3-none-any.whl
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/7f/e1/.../setuptools-39.2.0-py2.py3-none-any.whl
Collecting wheel
  Using cached https://files.pythonhosted.org/packages/81/30/.../wheel-0.31.1-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
  The script wheel.exe is installed in 'C:\Users\TestW764\python-3.6.5-embed-win32\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-10.0.1 setuptools-39.2.0 wheel-0.31.1

3) In python36._pth, uncomment "import site".

4) Try to install anything else:
C:\Users\TestW764\python-3.6.5-embed-win32> python -m pip install nuxeo
Collecting nuxeo
  Using cached https://files.pythonhosted.org/packages/b3/c9/.../nuxeo-2.0.1.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info\nuxeo.egg-info
    writing pip-egg-info\nuxeo.egg-info\PKG-INFO
    writing dependency_links to pip-egg-info\nuxeo.egg-info\dependency_links.txt

    writing requirements to pip-egg-info\nuxeo.egg-info\requires.txt
    writing top-level names to pip-egg-info\nuxeo.egg-info\top_level.txt
    writing manifest file 'pip-egg-info\nuxeo.egg-info\SOURCES.txt'
    error: [Errno 0] Error: 'lib2to3\\Grammar3.6.5.final.0.pickle'
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\TestW764\AppData\Local\Temp\pip-install-0gzz8yfg\nuxeo\

Do you think it is a sub-issue of 24960, something new or I bug from my side?

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 319974
nosy: Tiger-222
priority: normal
severity: normal
status: open
title: Can't use lib2to3 with embeddable zip file
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33903>
_______________________________________


More information about the New-bugs-announce mailing list