Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module ccli.driver #2

Open
hr87 opened this issue Mar 27, 2018 · 0 comments
Open

Cannot find module ccli.driver #2

hr87 opened this issue Mar 27, 2018 · 0 comments

Comments

@hr87
Copy link

hr87 commented Mar 27, 2018

If cinch-utils is installed in a non-standard location, the ccli command fails with the error

import ccli.driver
ImportError: No module named ccli.driver

The problem is, that ccli assumes that the python packages are installed in a standard location, and therefore can be easily imported. That is not always the case. To fix this, either install the packages into a standard location, even if ccli is not installed into a standard location, or add the path the modules are installed to the python path before importing them. The latter is the better option.

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

No branches or pull requests

1 participant