futuregrid / flask_cm

http://futuregrid.github.com/flask_cm/
Other
0 stars 1 forks source link

ImportError: cannot import name cm #1

Closed lee212 closed 11 years ago

lee212 commented 11 years ago

(flask)hyungro@p:~/flask_cm/flask_cm$ PYTHONPATH=../ python server.py Traceback (most recent call last): File "server.py", line 7, in from sh import cm ImportError: cannot import name cm

cm command doesn't exist on the machine. To solve this import error, 1) install cm -> cm CLI is removed from setup.py. At this time, there is no way to install cm.

2) change cm to python function call -> install cm packages and import cm class to use

laszewsk commented 11 years ago

lets for now out comment all cm related code and than we work on reintegrating it, possibly into this flask dir.

I also saw flask-script that may be beneficial for us

lee212 commented 11 years ago

out commented all cm import. issue closed.