Corrections:
"Amy was looking up words in the dictionary, but was having trouble; She didn't know how to spell them.
This is a Fragment, as a period is used before the coordinating conjunction "but" instead of a comma. A semicolon may not be required between "trouble" and "She," but it must be capitalized.