In this paper, we solve Einsteins' field equations for a circularly symmetric anisotropic fluid, with kinematic self-similarity of the first kind, in (2 + 1)-dimensional spacetimes. Considering the case where the radial pressure vanishes, we show that there exists a solution that represents the gravitational collapse of an anisotropic fluid, and the collapse will finally form a black hole, even if the fluid is constituted by phantom energy.