Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fake-factory needs to be replaced with faker in python 3.6 #6

Open
matsinet opened this issue Jan 7, 2017 · 1 comment
Open

fake-factory needs to be replaced with faker in python 3.6 #6

matsinet opened this issue Jan 7, 2017 · 1 comment

Comments

@matsinet
Copy link

matsinet commented Jan 7, 2017

raceback (most recent call last):
  File "src/main.py", line 3, in <module>
    from flask_orator import Orator
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask_orator\__init__.py", line 4, in <module>
    from orator import DatabaseManager, Model as BaseModel
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\__init__.py", line 3, in <module>
    from .orm import Model, SoftDeletes, Collection, accessor, mutator, scope
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\orm\__init__.py", line 7, in <module>
    from .factory import Factory
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\orm\factory.py", line 5, in <module>
    from faker import Faker
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\faker\__init__.py", line 7, in <module>
    raise ImportError(error)
ImportError: The ``fake-factory`` package is now called ``Faker``.

Please update your requirements.
@sdispater
Copy link
Owner

Yes. fake-factory changed its name to Faker which Orator depends on.

A bugfix version will be released in the coming week (see sdispater/orator#126)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants