ImportError: The ``fake-factory`` package is now called ``Faker``.

Uri Even-Chen uri at speedy.net
Tue Dec 20 11:57:57 EST 2016


Hi, we get this error with Python 3.4 and 3.5:
https://travis-ci.org/urievenchen/speedy-net/jobs/185497863


----------------------------------------------------------------------

ImportError: Failed to import test module:
speedy.net.accounts.tests.test_factories

Traceback (most recent call last):

  File "/opt/python/3.5.2/lib/python3.5/unittest/loader.py", line 428,
in _find_test_path

    module = self._get_module_from_name(name)

  File "/opt/python/3.5.2/lib/python3.5/unittest/loader.py", line 369,
in _get_module_from_name

    __import__(name)

  File "/home/travis/build/urievenchen/speedy-net/speedy/net/accounts/tests/test_factories.py",
line 4, in <module>

    import factory

  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/factory/__init__.py",
line 46, in <module>

    from .faker import Faker

  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/factory/faker.py",
line 41, in <module>

    import faker

  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/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.


What is the problem? We didn't update our requirements recently.

Thanks,
Uri.

*Uri Even-Chen*
[image: photo] Phone: +972-54-3995700
Email: uri at speedy.net
Website: http://www.speedysoftware.com/uri/en/
<http://www.facebook.com/urievenchen>  <http://plus.google.com/+urievenchen>
  <http://www.linkedin.com/in/urievenchen>  <http://github.com/urievenchen>
<http://twitter.com/urievenchen>


More information about the Python-list mailing list