This is not a valid argument. You would need ~p as a premise to deduce ~q as the conclusion.
Further proof is in the table
p q ~q p V ~q
----------------------------
T T F T
T F T T
F T F F
F F T T
Notice how on the first line that every premise is true BUT the conclusion (~q) is false. This shows us that the argument is NOT valid.