Closed Lucas-C closed 6 years ago
Hi.
Here is the error I get:
$ pip --version pip 10.0.1 from /usr/lib/python3.6/site-packages/pip (python 3.6) $ pip install genxword >out.log 2>&1 Collecting genxword Using cached https://files.pythonhosted.org/packages/78/b3/db348c150f79edcadf1cdc3e25ac4a6a4e74ed6d675689c6855f37952629/genxword-1.2.0.tar.gz Building wheels for collected packages: genxword Running setup.py bdist_wheel for genxword: started Running setup.py bdist_wheel for genxword: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ezquh6jv/genxword/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-wwpsgl8n --python-tag cp36: /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/genxword copying genxword/calculate.py -> build/lib/genxword copying genxword/cli.py -> build/lib/genxword copying genxword/complexstring.py -> build/lib/genxword copying genxword/complexstring2.py -> build/lib/genxword copying genxword/control.py -> build/lib/genxword copying genxword/gui.py -> build/lib/genxword copying genxword/__init__.py -> build/lib/genxword running egg_info writing genxword.egg-info/PKG-INFO writing dependency_links to genxword.egg-info/dependency_links.txt writing entry points to genxword.egg-info/entry_points.txt writing top-level names to genxword.egg-info/top_level.txt reading manifest file 'genxword.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'genxword.egg-info/SOURCES.txt' creating build/lib/genxword/data copying genxword/data/gumby.lang -> build/lib/genxword/data copying genxword/data/help_page -> build/lib/genxword/data installing to build/bdist.cygwin-2.10.0-x86_64/wheel running install running install_lib creating build/bdist.cygwin-2.10.0-x86_64 creating build/bdist.cygwin-2.10.0-x86_64/wheel creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/calculate.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/cli.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/complexstring.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/complexstring2.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/control.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword/data copying build/lib/genxword/data/gumby.lang -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword/data copying build/lib/genxword/data/help_page -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword/data copying build/lib/genxword/gui.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword copying build/lib/genxword/__init__.py -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword running install_data creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/applications copying extra/genxword-gtk.desktop -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/applications creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/pixmaps copying extra/genxword-gtk.png -> build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/pixmaps creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/locale creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/locale/ca creating build/bdist.cygwin-2.10.0-x86_64/wheel/genxword-1.2.0.data/data/share/locale/ca/LC_MESSAGES error: can't copy 'mo/ca/genxword.mo': doesn't exist or not a regular file ---------------------------------------- Failed building wheel for genxword Running setup.py clean for genxword Failed to build genxword Installing collected packages: genxword Running setup.py install for genxword: started Running setup.py install for genxword: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ezquh6jv/genxword/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-282d62fw/install-record.txt --single-version-externally-managed --compile: /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable /bin/sh: msgfmt : commande introuvable running install running build running build_py creating build creating build/lib creating build/lib/genxword copying genxword/calculate.py -> build/lib/genxword copying genxword/cli.py -> build/lib/genxword copying genxword/complexstring.py -> build/lib/genxword copying genxword/complexstring2.py -> build/lib/genxword copying genxword/control.py -> build/lib/genxword copying genxword/gui.py -> build/lib/genxword copying genxword/__init__.py -> build/lib/genxword running egg_info writing genxword.egg-info/PKG-INFO writing dependency_links to genxword.egg-info/dependency_links.txt writing entry points to genxword.egg-info/entry_points.txt writing top-level names to genxword.egg-info/top_level.txt reading manifest file 'genxword.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'genxword.egg-info/SOURCES.txt' creating build/lib/genxword/data copying genxword/data/gumby.lang -> build/lib/genxword/data copying genxword/data/help_page -> build/lib/genxword/data running install_lib running install_data error: can't copy 'mo/ca/genxword.mo': doesn't exist or not a regular file ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ezquh6jv/genxword/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-282d62fw/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ezquh6jv/genxword/
Same thing with Python 2.
Installing the gettext-devel package with apt-cyg provided the msgfmt command and solved my problem.
gettext-devel
apt-cyg
msgfmt
Great to hear you got it fixed - I'll add a note about that to the README
Hi.
Here is the error I get:
Same thing with Python 2.