spidermonkey么有移植?

#  pip install python-spidermonkey 
Downloading/unpacking python-spidermonkey
Downloading python-spidermonkey-0.0.10.tar.gz (787kB): 787kB downloaded
Running setup.py (path:/tmp/pip_build_root/python-spidermonkey/setup.py) egg_info for package python-spidermonkey
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 186, in <module>
**platform_config()
File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 143, in platform_config
return nspr_config(config=config)
File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 87, in nspr_config
return pkg_config("nspr", config)
File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 59, in pkg_config
raise RuntimeError("No package configuration found for: %s" % pkg_name)
RuntimeError: No package configuration found for: nspr
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

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

File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 186, in <module>

**platform_config()

File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 143, in platform_config

return nspr_config(config=config)

File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 87, in nspr_config

return pkg_config("nspr", config)

File "/tmp/pip_build_root/python-spidermonkey/setup.py", line 59, in pkg_config

raise RuntimeError("No package configuration found for: %s" % pkg_name)

RuntimeError: No package configuration found for: nspr

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/python-spidermonkey
Storing debug log for failure in /root/.pip/pip.log
# sudo easy_install python-spidermonkey
Searching for python-spidermonkey
Reading https://pypi.python.org/simple/python-spidermonkey/
Best match: python-spidermonkey 0.0.10
Downloading https://files.pythonhosted.org/packages/8a/dc/d218cf993ecc228931869e7e985af316f70f2c83cf88edf51011d13dd73a/python-spidermonkey-0.0.10.tar.gz#sha256=5409546a68b794a398f8598eddfeb4274559376c54c84c8b752798391712d889
Processing python-spidermonkey-0.0.10.tar.gz
Writing /tmp/easy_install-d0Nar9/python-spidermonkey-0.0.10/setup.cfg
Running python-spidermonkey-0.0.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-d0Nar9/python-spidermonkey-0.0.10/egg-dist-tmp-s7pb3Y
Traceback (most recent call last):
File "/bin/easy_install", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1909, in main
with_ei_usage(lambda:
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1896, in with_ei_usage
return f()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1913, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 358, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 186, in <module>
File "setup.py", line 143, in platform_config
File "setup.py", line 87, in nspr_config
File "setup.py", line 59, in pkg_config
RuntimeError: No package configuration found for: nspr
我看Loongnix发行说明有提到
8.解决自动化测试用例check-spidermonkey(是同一个spidermonkey引擎?)测试出错问题,合并patch:Bug-1384665-Use-virtualenv-Python.patch;
已邀请:

jiangtao9999

赞同来自:

RuntimeError: No package configuration found for: nspr
 

要回复问题请先登录注册