Python env - ImportError: cannot import name -
i use third-party source checked out svn.
it building , running fine. while creating deploy script, may have executed cmd after keep getting error
importerror: cannot import name xxx
where xxx changes randomly.
i think environment on mac may corrupted.
how can find , resolve issue?
try using virtual environment. example, virtualenv. once create virtual environment, activate via source env/bin/activate
, install of dependencies via pip install
. can start narrow down there.
Comments
Post a Comment