Coder Social home page Coder Social logo

estopa-partes's Introduction

estopa-partes

Instalation

Install Connection Driver

As we are using MySQL database, our guide for client driver instalation is [here] (https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation.html).

Install Database Driver Manager

apt-get install odbcinst

Install odbc driver from bynary tarball. First we download the ODBC driver

tar xvf mysql-connector-odbc-8.0.27-i686-pc-linux.tar
cp bin/* /usr/local/bin
cp -rf lib/* /usr/local/lib

Register the driver

# Registers the Unicode driver:
myodbc-installer -a -d -n "MySQL ODBC 8.0 Driver" -t "Driver=/usr/local/lib/libmyodbc8w.so"

# Registers the ANSI driver 
myodbc-installer -a -d -n "MySQL ODBC 8.0" -t "Driver=/usr/local/lib/libmyodbc8a.so"

Or register manually editing /etc/odbcinst.ini

[ODBC Driver MySQL]
Description=MySQL ODBC Driver
Driver=/usr/local/lib/libmyodbc8a.so
UsageCount=1

Install Python libraries

Create virtual enviorement & install dependencies

virtualenv -p python3 venv

. venv/bin/activate # Activate enviorement

pip install -r requirements.txt

Then run the main script

python main.py

estopa-partes's People

Contributors

alexpar2 avatar chelunike avatar juanjoas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.