bobber6467 / python-nose

Automatically exported from code.google.com/p/python-nose
0 stars 0 forks source link

python 3.2 setup.py install fails #432

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Install Python 3.2 on Windows (I'm using XP)
2. Install the distribute package
3. Run "C:\Python32\python C:\Python32\Scripts\easy_install-script.py nose"

{{{
C:\Python32>C:\Python32\python c:\python32\Scripts\easy_install-script.py nose
install_dir C:\Python32\Lib\site-packages\
Searching for nose
Reading http://pypi.python.org/simple/nose/
Reading http://somethingaboutorange.com/mrl/projects/nose/
Best match: nose 1.0.0
Downloading http://somethingaboutorange.com/mrl/projects/nose/nose-1.0.0.tar.gz
Processing nose-1.0.0.tar.gz
Running nose-1.0.0\setup.py -q bdist_egg --dist-dir 
c:\docume~1\fumanchu\locals~1\temp\easy_install-4140bw\nose-1.0.0\eg
g-dist-tmp-9_ss7q
no previously-included directories found matching 'doc\.build'
Adding nose 1.0.0 to easy-install.pth file
Installing nosetests-script.py script to C:\Python32\Scripts
Traceback (most recent call last):
  File "c:\python32\Scripts\easy_install-script.py", line 9, in <module>
    load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install')()
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 1855, in mai
n
    with_ei_usage(lambda:
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 1836, in wit
h_ei_usage
    return f()
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 1859, in <la
mbda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "C:\Python32\lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\Python32\lib\distutils\dist.py", line 919, in run_commands
    self.run_command(cmd)
  File "C:\Python32\lib\distutils\dist.py", line 938, in run_command
    cmd_obj.run()
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 342, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 582, in easy
_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 614, in inst
all_item
    self.process_distribution(spec, dist, deps)
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 643, in proc
ess_distribution
    self.install_egg_scripts(dist)
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 513, in inst
all_egg_scripts
    self.install_wrapper_scripts(dist)
  File "C:\Python32\lib\site-packages\distribute-0.6.14-py3.2.egg\setuptools\command\easy_install.py", line 718, in inst
all_wrapper_scripts
    self.write_script(*args)
  File "setup.py", line 63, in wrap_write_script
TypeError: can't use a string pattern on a bytes-like object

}}}

Original issue reported on code.google.com by aminu...@gmail.com on 6 Jul 2011 at 8:06

GoogleCodeExporter commented 8 years ago
This looks like a bug in distribute.  Can you try upgrading and reporting it on 
their tracker?

Original comment by kumar.mcmillan on 7 Jul 2011 at 1:08