Comments (2)
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.
@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)
- Allow faster data loading. HOT 5
- Install shouldn't fail if I don't have pg_config HOT 3
- Python socket package throws error in fake2db_logger under helpers.py HOT 3
- Adding more nosql db HOT 1
- Error when running cli HOT 5
- Missing faker_options_container HOT 4
- name not taken in consideration for mysql HOT 3
- mongodb hanging on 1 million rows HOT 5
- Misprint in column name 'address' in sqlite_handler.data_filler_detailed_registration HOT 1
- Populate an existing database + schema? HOT 1
- How to get auto-increment ID and specify custom column names? HOT 1
- custom table name and number
- Missing tags HOT 1
- database already exists HOT 1
- Allow multiple columns with same faker key OR allow column naming
- --database option
- MySql connector is always required
- AttributeError: 'NoneType' object has no attribute 'execute' HOT 3
- Companies Data Not Working? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fake2db.