hi guys,when i used pip install nnpy in Centos,i got error like "TypeError: 'NoneType' object is not iterable",details like: ( is there anyone can help me?)
Downloading/unpacking nnpy
Downloading nnpy-1.4.2.tar.gz
Running setup.py (path:/tmp/pip_build_root/nnpy/setup.py) egg_info for package nnpy
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/nnpy/setup.py", line 3, in
setup(
File "/opt/jython/Lib/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/jython/Lib/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 265, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 307, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 800, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 1050, in best_match
return self.obtain(req, installer)
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 1062, in obtain
return installer(requirement)
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 377, in fetch_build_egg
return cmd.easy_install(req)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 659, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 844, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1072, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
run_setup(setup_script, args)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
run_setup(setup_script, args)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 193, in setup_context
yield
File "/opt/jython/Lib/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 164, in save_modules
saved_exc.resume()
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 139, in resume
compat.reraise(type, exc, self._tb)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 267, in run
return func()
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-5qFCQ6/cffi-1.11.4/setup.py", line 138, in
File "/tmp/easy_install-5qFCQ6/cffi-1.11.4/setup.py", line 66, in ask_supports_thread
File "/opt/jython/Lib/distutils/command/config.py", line 232, in try_compile
self._compile(body, headers, include_dirs, lang)
File "/opt/jython/Lib/distutils/command/config.py", line 232, in try_compile
self._compile(body, headers, include_dirs, lang)
File "/opt/jython/Lib/distutils/command/config.py", line 136, in _compile
(obj,) = self.compiler.object_filenames([src])
File "/opt/jython/Lib/distutils/ccompiler.py", line 871, in object_filenames
if ext not in self.src_extensions:
TypeError: 'NoneType' object is not iterable
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/nnpy/setup.py", line 3, in
File "/opt/jython/Lib/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/jython/Lib/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 265, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 307, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 800, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 1050, in best_match
return self.obtain(req, installer)
File "/opt/jython/Lib/site-packages/pkg_resources/init.py", line 1062, in obtain
return installer(requirement)
File "/opt/jython/Lib/site-packages/setuptools/dist.py", line 377, in fetch_build_egg
return cmd.easy_install(req)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 629, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 659, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 844, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1072, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
run_setup(setup_script, args)
File "/opt/jython/Lib/site-packages/setuptools/command/easy_install.py", line 1058, in run_setup
run_setup(setup_script, args)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 193, in setup_context
File "/opt/jython/Lib/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 164, in save_modules
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 139, in resume
compat.reraise(type, exc, self._tb)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 237, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 267, in run
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 236, in runner
_execfile(setup_script, ns)
File "/opt/jython/Lib/site-packages/setuptools/sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-5qFCQ6/cffi-1.11.4/setup.py", line 138, in
File "/tmp/easy_install-5qFCQ6/cffi-1.11.4/setup.py", line 66, in ask_supports_thread
File "/opt/jython/Lib/distutils/command/config.py", line 232, in try_compile
self._compile(body, headers, include_dirs, lang)
File "/opt/jython/Lib/distutils/command/config.py", line 232, in try_compile
self._compile(body, headers, include_dirs, lang)
File "/opt/jython/Lib/distutils/command/config.py", line 136, in _compile
(obj,) = self.compiler.object_filenames([src])
File "/opt/jython/Lib/distutils/ccompiler.py", line 871, in object_filenames
if ext not in self.src_extensions:
TypeError: 'NoneType' object is not iterable
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip_build_root/nnpy
Storing debug log for failure in /root/.pip/pip.log