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

Not able to get this running on Mac #243

Open
ahamedvasim83 opened this issue May 12, 2018 · 3 comments
Open

Not able to get this running on Mac #243

ahamedvasim83 opened this issue May 12, 2018 · 3 comments

Comments

@ahamedvasim83
Copy link

sudo pip install requests

Error : sudo: pip: command not found

Also, can someone give me steps on executing the following commands on Terminal window.

Python 2.7
import os
import sys
import time
import config
import argparse
import threading
import sqlite3

@ahamedvasim83
Copy link
Author

Also getting following error when executing the trade

python trader.py --symbol KMDBTC --amount 0.002 --profit 1
Traceback (most recent call last):
File "trader.py", line 9, in
from Trading import Trading
File "./app/Trading.py", line 17, in
from Orders import Orders
File "./app/Orders.py", line 5, in
from BinanceAPI import BinanceAPI
File "./app/BinanceAPI.py", line 3, in
import requests
ImportError: No module named requests

@FredMichel
Copy link

Try
python3 trader.py --symbol KMDBTC --amount 0.002 --profit 1

@valimikayilov
Copy link

  1. Check if Python is installed: You can do this by typing python --version or python2 --version (since you're using Python 2.7) into your terminal and hitting Enter. If Python is installed correctly, this command should return the version of Python installed.
  2. Check if pip is installed: Pip is a package manager for Python and is usually installed with Python. Type pip --version into your terminal. If pip is installed correctly, you should see the version of pip returned.

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

3 participants