#301 AttributeError: 'tuple' object has no attribute 'split'

v1.0_(example)
closed
nobody
None
5
2014-08-19
2013-10-05
Dominique
No

I hope this is the right place to ask for help. I'm not finding much comfort in the PyPi documentation and Google is useless. I just uploaded my package pykrylov with python setup.py sdist upload. Installing it with python setup.py install works fine but pip install pykrylov breaks with the following messages. Could anyone put me on track here? I've no idea what's wrong.

Thanks~

$ pip install pykrylov
Downloading/unpacking pykrylov
Using download cache from /Users/dpo/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpykrylov%2Fpykrylov-0.1.1.tar.gz
Running setup.py egg_info for package pykrylov
build_src
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/Users/dpo/.virtualenvs/test/build/pykrylov/setup.py", line 77, in <module>
setup_package()
File "/Users/dpo/.virtualenvs/test/build/pykrylov/setup.py", line 69, in setup_package
configuration=configuration )
File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 186, in setup
return old_setup(**new_attr)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/numpy/distutils/command/egg_info.py", line 9, in run
_egg_info.run(self)
File "<string>", line 13, in replacement_run
File "build/bdist.macosx-10.8-x86_64/egg/setuptools/command/egg_info.py", line 441, in write_toplevel_names
AttributeError: 'tuple' object has no attribute 'split'
Complete output from command python setup.py egg_info:
running egg_info

running build_src

build_src

creating pip-egg-info/pykrylov.egg-info

writing pip-egg-info/pykrylov.egg-info/PKG-INFO

Traceback (most recent call last):

File "<string>", line 16, in <module>

File "/Users/dpo/.virtualenvs/test/build/pykrylov/setup.py", line 77, in <module>

setup_package()

File "/Users/dpo/.virtualenvs/test/build/pykrylov/setup.py", line 69, in setup_package

configuration=configuration )

File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 186, in setup

return old_setup(**new_attr)

File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/usr/local/lib/python2.7/site-packages/numpy/distutils/command/egg_info.py", line 9, in run

_egg_info.run(self)

File "<string>", line 13, in replacement_run

File "build/bdist.macosx-10.8-x86_64/egg/setuptools/command/egg_info.py", line 441, in write_toplevel_names

AttributeError: 'tuple' object has no attribute 'split'


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/dpo/.virtualenvs/test/build/pykrylov
Storing complete log in /Users/dpo/.pip/pip.log

Discussion

  • Richard Jones
    Richard Jones
    2014-01-11

    • status: open --> closed