yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.56k stars 836 forks source link

Not able to get this running on Mac #243

Open ahamedvasim83 opened 6 years ago

ahamedvasim83 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

valimikayilov commented 1 year ago
  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.