-
Notifications
You must be signed in to change notification settings - Fork 235
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
import krakenex ImportError: No module named krakenex #37
Labels
Comments
If you don't install the package, Python won't know where to import it from. For a one-off, you might go with just moving the example to the top-level directory, and try running it from there. If you intend to use |
Thank you. I think the problem was due to my IDE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
What are you trying to achieve?
I'm trying to import krakenex and run it with cmd + b in Sublime Text on OSX.
# code sample
What do you expect to happen?
I expect to be able to run the example open-positions.py
What happens instead?
When pressing cmd + b, I get
"import krakenex
ImportError: No module named krakenex"
If I create a new file that just says "print 'hello world'" and then press cmd + b, it does print 'hello world'.
However, krakenex is not imported when I press cmd + b within open-positions.py.
The problem is probably very basic. I learned python yesterday, installed Anaconda today, and I have very little experience with APIs.
I downloaded the zip file from https://github.com/veox/python3-krakenex/, extracted it, then ran
python3 setup.py install
within that extracted directory.I then opened that whole extracted folder with Sublime Text 3.
Then, within open-positions.py, if I press cmd + b, I get said error message.
The full output is
Help much appreciated.
# error message
The text was updated successfully, but these errors were encountered: