Django manage.py syncdb fails when running in virtualenv

When I create a virtualenv with PyCharm and then want to run manage.py syncdb, it fails with:

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/getpass.py", line 114, in fallback_getpass
    stacklevel=2)
getpass.GetPassWarning: Can not control echo on the terminal.

When running against the standard OS X distro, it works fine.

Skipping the creation of the superuser and then run manage.py createsuperuser also fails with an exception.

I use:

OS X Mavericks
Pycharm 3.1.3
Python 2.7

Any ideas?

Please sign in to leave a comment.