I tried installing pipx, but still pipx install poetry was showing error "invalid syntax". So i ran command "pip install poetry ==1.2.0" and that gave me this error-
anaconda-client 1.12.3 requires platformdirs<5.0,>=3.10.0, but you have platformdirs 2.6.2 which is incompatible.
conda 24.5.0 requires platformdirs>=3.10.0, but you have platformdirs 2.6.2 which is incompatible.
I am not sure how to sort this. Kindly help.