No module named 'factory' Error while creating test data

27 views
Skip to first unread message

hitesh rajkumar

unread,
Mar 6, 2024, 2:56:01 PMMar 6
to CKAN Development Discussions
I have been trying to follow getting started guide but I am facing issues while creating test data. I tried pip install Factory and got an error. I have attached screenshots of the error.

Screenshot 2024-03-06 145427.png
Screenshot 2024-03-06 144809.png

Martin Burchell

unread,
Mar 6, 2024, 4:33:32 PMMar 6
to ckan...@ckan.org
The error message is trying to help you here. Try:

pip install -r dev-requirements.txt

This will install, amongst other things Factory Boy (not Factory, which
is something else).


Best regards,


Martin
--
Martin Burchell | <mar...@aptivate.org> | Skype: martinburchell
Aptivate | http://www.aptivate.org/

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.
Reply all
Reply to author
Forward
0 new messages