java.lang.RuntimeException

Error: coverage module could not be imported Please make sure that the coverage module (http://nedbatchelder.com/code/coverage/) is properly installed in your interpreter: C:\Python27\python.exe Traceback (most recent call last): File "C:\eclipse\plugins\org.python.pydev.debug\_2.4.0.2012020116\pysrc\pydev\_coverage.py", line 34, in execute import coverage \#@UnresolvedImport ImportError: No module named coverage

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web46061

  • Error: coverage module could not be imported Please make sure that the coverage module (http://nedbatchelder.com/code/coverage/) is properly installed in your interpreter: C:\Python27\python.exe Traceback (most recent call last): File "C:\eclipse
  • No output was in the standard output when trying to create the interpreter info. The error output contains:>>'import site' failed; use -v for traceback Traceback (most recent call last):   File "C:\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\interpreterInfo.py", line 15, in <module>     import os ImportError: No module named os <<
  • Error when launching multilang subprocess Traceback (most recent call last): File "pythonBolt.py", line 4, in <module> from matplotlib import mlab ImportError: No module named matplotlib
  • Stack trace

    • java.lang.RuntimeException: Error: coverage module could not be imported Please make sure that the coverage module (http:/
    • edbatchelder.com/code/coverage/) is properly installed in your interpreter: C:\Python27\python.exe Traceback (most recent call last): File "C:\eclipse\plugins\org.python.pydev.debug\_2.4.0.2012020116\pysrc\pydev\_coverage.py", line 34, in execute import coverage \#@UnresolvedImport ImportError: No module named coverage at org.python.pydev.core.log.Log.log(Log.java:99) at org.python.pydev.debug.codecoverage.PyCoverage.refreshCoverageInfo(PyCoverage.java:203) at org.python.pydev.debug.codecoverage.PyCodeCoverageView.executeRefreshAction(PyCodeCoverageView.java:243) at org.python.pydev.debug.codecoverage.PyCodeCoverageView$RefreshAction.run(PyCodeCoverageView.java:220) at org.python.pydev.utils.ProgressOperation.execute(ProgressOperation.java:48) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.python.pydev.utils.ProgressOperation.startAction(ProgressOperation.java:67) at org.python.pydev.debug.codecoverage.PyCodeCoverageView.setSelectedContainer(PyCodeCoverageView.java:457) at org.python.pydev.debug.codecoverage.PyCodeCoverageView$9.drop(PyCodeCoverageView.java:801) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774) at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456) at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago