Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

ImportError: No module named gencodemap #4

Closed
chrisrossi opened this issue Aug 24, 2013 · 6 comments
Closed

ImportError: No module named gencodemap #4

chrisrossi opened this issue Aug 24, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@chrisrossi
Copy link

Cannot install egg from pypi. See error below:

crossi@spirit:/proj/dusky$ virtualenv-2.7 venv
New python executable in venv/bin/python2.7
Also creating executable in venv/bin/python
Installing distribute..........................................................................................................................................................................................................done.
Installing pip................done.
crossi@spirit:
/proj/dusky$ venv/bin/easy_install unihandecode
Searching for unihandecode
Reading http://pypi.python.org/simple/unihandecode/
Reading http://launchpad.net/unihandecode/
Best match: Unihandecode 0.31
Downloading https://launchpad.net/unihandecode/0.3/release-0.3/+download/Unihandecode-0.31.tar.gz
Processing Unihandecode-0.31.tar.gz
Writing /tmp/easy_install-woOTsb/Unihandecode-0.31/setup.cfg
Running Unihandecode-0.31/setup.py -q bdist_egg --dist-dir /tmp/easy_install-woOTsb/Unihandecode-0.31/egg-dist-tmp-Ibr4lK
Traceback (most recent call last):
File "venv/bin/easy_install", line 9, in
load_entry_point('distribute==0.6.28', 'console_scripts', 'easy_install')()
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1929, in main
with_ei_usage(lambda:
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1910, in with_ei_usage
return f()
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1933, in
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/local/src/buildout.python/parts/opt/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/src/buildout.python/parts/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/src/buildout.python/parts/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/command/easy_install.py", line 1089, in run_setup
run_setup(setup_script, args)
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 30, in run_setup
lambda: execfile(
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 78, in run
return func()
File "/home/crossi/proj/dusky/venv/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg/setuptools/sandbox.py", line 32, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 8, in
ImportError: No module named gencodemap

@miurahr
Copy link
Owner

miurahr commented Aug 25, 2013

It fails making source and egg distribution.
It should be with gencodemap, genkanwadict and data directories.

This was referenced Aug 25, 2013
@miurahr
Copy link
Owner

miurahr commented Aug 25, 2013

Thank you for notifying me! It was my mistake. This cause distribution package useless. orz...

@miurahr
Copy link
Owner

miurahr commented Aug 25, 2013

Updated egg released

@miurahr miurahr closed this as completed Aug 25, 2013
@mbr
Copy link

mbr commented Aug 25, 2013

This is breaking a package of mine, see mbr/slugger#2 - will an updated package be released to PyPI?

@miurahr
Copy link
Owner

miurahr commented Aug 25, 2013

Released update package to PyPi.

@chrisrossi
Copy link
Author

Yep, works now! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants