How to show a block on the user profile page but not the user edit page?
First, enable the PHP filter module and give yourself permissions to use PHP in order to input PHP on the Block visibility settings page.

On the Block visibility settings page, you can check for an argument like this:

&lt;?php 
if(arg(0) == 'user' &amp;&amp; arg(2) != 'edit' )
return true;
else 
return false 
?&gt; 


Also, see my answer on Stack Overflow.