fix loosen and fix requirements, fix sampledata install dir