conan installed but no command found

Viewed 3089

Installation is successful but where is conan?

  1. Installed using "sudo pip install conan" (success)
  2. source ~/.profile
  3. conan (No command 'conan' found)

I looked with "pip show conan" and it returns location is /usr/local/lib/python3.5/dist-packages

1 Answers

It seems after you installed conan with pip / pip3 it is not in the environment variable PATH. You need to find where conan was installed and add path to conan to PATH.

find /usr/local -name conan

and if conan was installed to /usr/local/bin add it to PATH

PATH=$PATH:/usr/local/bin

It is possible that you want to update your ~/.profile or ~/.bashrc to add path to conan to PATH.

Related