[Tutor] python wifi

Sales sales at myspcworks.com
Thu Sep 6 06:43:43 CEST 2012


Hello,
I'm trying to install python wifi using easy install. I have python27 and working on mac os. from a shell I'm running:

easy_install python_wifi-0.5.0-py2.5.egg

I also tried:

sudo easy_install python_wifi-0.5.0-py2.5.egg

I pasted the output error below. I'm not familiar with easy_install or python wifi. What am I doing wrong here? thanks!


Downloading http://pypi.python.org/packages/any/p/python-wifi/python_wifi-0.5.0-py2.5.egg#md5=d7995ad357387d3c2f8b13bcac5c4e20,
Processing python_wifi-0.5.0-py2.5.egg
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_wifi-0.5.0-py2.5.egg
Moving python_wifi-0.5.0-py2.5.egg to /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
python-wifi 0.5.0 is already the active version in easy-install.pth

Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_wifi-0.5.0-py2.5.egg
Processing dependencies for python-wifi==0.5.0
Searching for python-wifi==0.5.0
Reading http://pypi.python.org/simple/python-wifi/
Reading http://pythonwifi.wikispot.org
Reading https://developer.berlios.de/projects/pythonwifi/
Reading http://www.romanofski.de/downloads/pywifi
No local packages or download links found for python-wifi==0.5.0
Best match: None
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 422, in easy_install
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 478, in install_item
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 519, in process_distribution
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 563, in resolve
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 799, in best_match
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 811, in obtain
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'




More information about the Tutor mailing list