oplogutils icon indicating copy to clipboard operation
oplogutils copied to clipboard

Failed to install using easy_install

Open missinglink opened this issue 12 years ago • 2 comments

I'm trying to install via easy_install on ubuntu 12.04

peter@edgy:/tmp$ sudo easy_install oplogutils
Searching for oplogutils
Reading http://pypi.python.org/simple/oplogutils/
No local packages or download links found for oplogutils
Best match: None
Traceback (most recent call last):
  File "/usr/local/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main

  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage

  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda>

  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run

  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install

  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'

I'm not very familiar with easy_install, any ideas what I'm doing wrong?

missinglink avatar Jun 20 '13 15:06 missinglink

After installing from source, I have oplog_trim but not oplog-count.

peter@edgy:/tmp/oplogutils$ oplog-count
oplog-count: command not found
peter@edgy:/tmp/oplogutils$ oplog-trim 
Traceback (most recent call last):
  File "/usr/local/bin/oplog-trim", line 5, in <module>
    pkg_resources.run_script('oplogutils==0.1.2', 'oplog-trim')
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 489, in run_script
    yield ep
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1214, in run_script
    def metadata_isdir(self,name):
  File "/usr/local/lib/python2.7/dist-packages/oplogutils-0.1.2-py2.7.egg/EGG-INFO/scripts/oplog-trim", line 2, in <module>
    # EASY-INSTALL-SCRIPT: 'oplogutils==0.1.2','oplog-trim'
  File "build/bdist.linux-x86_64/egg/oplogutils/__init__.py", line 1, in <module>
    #
  File "build/bdist.linux-x86_64/egg/oplogutils/_trimmer.py", line 4, in <module>
ImportError: No module named timestamp

missinglink avatar Jun 20 '13 15:06 missinglink

peter@edgy:/tmp/oplogutils$ uname -a
Linux edgy 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
peter@edgy:/tmp/oplogutils$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

missinglink avatar Jun 20 '13 15:06 missinglink