Giter Club home page Giter Club logo

Comments (2)

bhrgu avatar bhrgu commented on May 30, 2024 1

Looks like you are trying to run the command via Python interpreter instead of your system shell, e.g. bash

Python 2.7.6 (default, Oct 26 2016, 20:30:19) 
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> fake2db --rows 10 --db sqlite 
  File "<stdin>", line 1
    fake2db --rows 10 --db sqlite 
                    ^
SyntaxError: invalid syntax

You just need to run fake2db as regular command if you have installed it system wide (sudo pip install fake2db):

user@host:~$ fake2db --rows 10 --db sqlite 
2017-08-29 15:28:27,894 bhrigu   Rows argument : 10
2017-08-29 15:28:27,925 bhrigu   Database created and opened succesfully: sqlite_MDAUFXKR.db
2017-08-29 15:28:27,973 bhrigu   simple_registration Commits are successful after write job!
2017-08-29 15:28:28,017 bhrigu   detailed_registration Commits are successful after write job!
2017-08-29 15:28:28,082 bhrigu   companies Commits are successful after write job!
2017-08-29 15:28:28,142 bhrigu   user_agent Commits are successful after write job!
2017-08-29 15:28:28,195 bhrigu   customer Commits are successful after write job!
user@host:~$ ls *sqlite*
sqlite_MDAUFXKR.db

from fake2db.

emprit1988 avatar emprit1988 commented on May 30, 2024

@bhrgu
Thanks for your support. I have solved this by uninstalling and reinstalling fake2db as suggested in this post. [https://github.com//issues/33]

from fake2db.

Related Issues (20)

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.