Inhomogeneous superconductivity in quasi-one dimensional organic conductors and ropes of carbon nanotubes