What would cause my car to not have any spark? turns over but no start! on 1998 Honda Civic

\recently replaced the engine as well as distributor and have no power. Drove the car 2 days and stopped starting. Checked all ground and fuses and all is good!!! Please help me....don't want to think I changed engine for nothing. Don't want to get rid of car, but if I cant fix it theres no point in keeping it!!!

Asked by for the 1998 Honda Civic
Is the distributor shaft/rotor turning while cranking engine?