Comments (4)
Hi Jason!
Thanks for the report, may i ask a question and an action point if possible:
Q: can you give me information about your python version
Action: when you install fake2db from pip, like you did in the first step, can you try to run your command like this: fake2db --db postgresql --host 127.0.0.1 --port 5432 --password fakepassword --username postgres --name TESTDB --rows 100 --custom address
from fake2db.
Emir,
Thanks for the quick response! Here is the information you requested beginning with Python version:
Python 2.7.13
When I run the provided command from the root of the project:
fake2db --db postgresql --host 127.0.0.1 --port 5432 --password fakepassword --username postgres --name TESTDB --rows 100 --custom address
Output:
2017-05-03 08:23:39,916 jason Rows argument : 100
2017-05-03 08:23:39,930 jason faker package not found onto python packages, please run : pip install -r requirements.txt on the root of the project
Interesting, because I had already ran pip install against the requirements.txt from the previous setup steps.
from fake2db.
I am able to reproduce this issue, this is a very weird regression as this dependency have never been removed from setup.py ... you can also see fake-factory dependency there.
Thank you very much for the report, i will investigate further and let you know...
from fake2db.
Ok i found the issue, apparently the owners of the python package fake-factory
(https://pypi.python.org/pypi/fake-factory) deprecated this library in favor of this package: https://pypi.python.org/pypi/Faker
Long story short, this deprecation by them broke fake2db.
but it should be fixed now so if you can do
pip uninstall fake2db
and then
pip install fake2db
everything should be fine
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
- Not sure how to start with. HOT 2
- 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.