This year for the first time, I received all of my income from pension (30K), 1099-MISC (subcontractor) (60K) and capital gains from the sale of a house (100K+)

Does this mean that I can not get either a traditional IRA or a ROTH IRA because I have no "earned income"?
Is there any other tax free investment available to me?