Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

ImportError: No module named coros #144

Closed
Amurmurmur opened this issue Dec 28, 2016 · 3 comments
Closed

ImportError: No module named coros #144

Amurmurmur opened this issue Dec 28, 2016 · 3 comments

Comments

@Amurmurmur
Copy link

Steps to reproduce

  1. pip install crackmapexec
  2. crackmapexec

Command string used

CME verbose output (using the --verbose flag)

OS

Windows

Target OS

Detailed issue explanation

Just installed it with pip, tried from repo as well, on a windows 10 x64 machine.
When having crackmapexec in a cmd just throws:
C:\Users\USER\Desktop\CrackMapExec-master\CrackMapExec-master>crackmapexec
Traceback (most recent call last):
File "C:\Python27\Scripts\crackmapexec-script.py", line 11, in
load_entry_point('crackmapexec==3.1.5.dev0', 'console_scripts', 'crackmapexec')()
File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 2631, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 2291, in load
return self.resolve()
File "C:\Python27\lib\site-packages\pkg_resources_init_.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "C:\Python27\lib\site-packages\crackmapexec-3.1.5.dev0-py2.7.egg\cme\crackmapexec.py", line 10, in
from cme.connection import Connection
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in import
result = _import(*args, **kwargs)
File "C:\Python27\lib\site-packages\crackmapexec-3.1.5.dev0-py2.7.egg\cme\connection.py", line 7, in
from gevent.coros import BoundedSemaphore
File "C:\Python27\lib\site-packages\gevent\builtins.py", line 93, in import
result = _import(*args, **kwargs)
ImportError: No module named coros

Trying with the latest pull from repo.

Thank you in advance.

@archey
Copy link

archey commented Dec 28, 2016

It appears to be an issue with an update to gevent, I have gevent version 1.2.0 installed it the gevent.coros module is missing.

@archey
Copy link

archey commented Dec 28, 2016

@Amurmurmur this pr fixes the issue, if youd like to try it out.

#145 you can pull it as a patch to test if you'd like

byt3bl33d3r pushed a commit that referenced this issue Dec 29, 2016
This reverts commit db056d1.

Module chaining will be re-implemented once I find a less hacky way of
going about it.

This also closes issue #144 and PR #145
@byt3bl33d3r
Copy link
Owner

Fixed in ab4d0a4, thanks @archey and @Amurmurmur !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants