python - easy_install libmysqld-dev error :'NoneType' object has no attribute 'clone' -
this error :
(mysite)zjm1126@zjm1126-g41mt-s2:~/zjm_test/mysite$ ./bin/easy_install libmysqld-dev searching libmysqld-dev reading http://pypi.python.org/simple/libmysqld-dev/ couldn't find index page 'libmysqld-dev' (maybe misspelled?) scanning index of packages (this may take while) reading http://pypi.python.org/simple/ no local packages or download links found libmysqld-dev best match: none traceback (most recent call last): file "./bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1712, in main file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda> file "/usr/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() file "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) file "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 211, in run file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 434, in easy_install file "/home/zjm1126/zjm_test/mysite/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py", line 475, in fetch_distribution attributeerror: 'nonetype' object has no attribute 'clone'
what can do,
thanks
this error indicates easy-install cannot locate package, meaning not found. you'd better off installing dev package via distribution's package manager (apt-get etc)
if examine output carefully, notice:
reading http://pypi.python.org/simple/ no local packages or download links found libmysqld-dev best match: none
Comments
Post a Comment