n1nj4z33 / iqoptionapi

IQ Option API 4.x (Python 2.7) The project is obsolete and is not supported because of problems with access to IQ Options in Russia
119 stars 539 forks source link

INSTALLATION STEP BY STEP #107

Closed Aleandro21 closed 5 years ago

Aleandro21 commented 5 years ago

Hello all, I want to create a step by step guide for a clean server installation with version ubuntu 14.

sudo apt-get update apt-get install build-essential libxml2-dev ncurses-dev sudo apt-get install python-software-properties sudo apt-get install apache2 sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt sudo apt-get install php5-curl sudo apt-get install phpmyadmin sudo apt-get install python-pip python-dev libmysqlclient-dev apt-get install pylint pip install websocket-client pip install iqoptionapi pip install requests pip install mysqlclient pip install --upgrade git+https://github.com/n1nj4z33/iqoptionapi.git@master

is right ?

Aleandro21 commented 5 years ago

why have this error File "/test_api/saldo.py", line 7, in <module> from iqoptionapi.api import IQOptionAPI File "/test_api/iqoptionapi/api.py", line 36, in <module> requests.packages.urllib3.disable_warnings() # pylint: disable=no-member AttributeError: 'module' object has no attribute 'packages'

Aleandro21 commented 5 years ago

i have resolved with this: pip install requests --upgarde pip install pyOpenSSL ndg-httpsclient pyasn1

but now i have this error 2018-09-12 15:53:19,531 _ssl.c:335: No root certificates specified for verification of other-side certificates. 2018-09-12 15:53:19,531 Websocket connection closed.

Aleandro21 commented 5 years ago

sudo pip2 install -U git+git://github.com/Lu-Yi-Hsun/iqoptionapi.git

this resolve 👍