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

clikraken: command not found #27

Closed
SmartLayer opened this issue Dec 12, 2017 · 1 comment
Closed

clikraken: command not found #27

SmartLayer opened this issue Dec 12, 2017 · 1 comment

Comments

@SmartLayer
Copy link

I'm following the instruction on README.md (except didn't use virtualenv). After installing with

$ pip install clikraken

successfully, typing clikraken would result "command not found".

I tried to

$ cd .local/lib/python3.5/site-packages/clikraken
$ python3 clikraken/clikraken.py 
Traceback (most recent call last):
  File "clikraken/clikraken.py", line 12, in <module>
    from clikraken.api.api_utils import load_api_keyfile
  File "/home/weiwu/.local/lib/python3.5/site-packages/clikraken/clikraken.py", line 12, in <module>
    from clikraken.api.api_utils import load_api_keyfile
ImportError: No module named 'clikraken.api'; 'clikraken' is not a package
@zertrin
Copy link
Owner

zertrin commented Dec 13, 2017

If you insist on using clikraken like this (which I don't recommend), then you need to call it like this:

python -m clikraken

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

No branches or pull requests

2 participants