Title: sh: /usr/local/bin/python
Last modified: August 20, 2016

---

# sh: /usr/local/bin/python

 *  [mrlollige](https://wordpress.org/support/users/mrlollige/)
 * (@mrlollige)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/)
 * Hi,
 * Since today I see the message:
 * sh: /usr/local/bin/python: No such file or directory
 * On top of my site. I can not remember I changed any setting or plug in when it
   changed to this. After I saw this message I upgraded to 3.2.1 (from 3.2) which
   made no difference.
    You can have a look at it here: danielsiegmund.nl
 * What does this mean, and how do I get rid of it?
    Daniel

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2184851)
 * Try contacting your hosts. WordPress doesn’t use Python, so it’s coming from 
   outside of WordPress.
 *  Thread Starter [mrlollige](https://wordpress.org/support/users/mrlollige/)
 * (@mrlollige)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2184875)
 * That would make sense if it was on all pages. But this message does not show 
   on the admin panel or on any of my other sites running on the same server (also
   not those that run WP)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2184876)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Eleven theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [mrlollige](https://wordpress.org/support/users/mrlollige/)
 * (@mrlollige)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2184934)
 * Really strange, if I go into PhpMyAdmin I can not find active_plugins in wp_options…
   
   I did the thing they suggest with PHP, but it makes no difference at all. Neither
   does changing theme 🙁
 *  [Daniel Cid](https://wordpress.org/support/users/ddsucurinet/)
 * (@ddsucurinet)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2185038)
 * Look at your index.php. Your site is probably hacked (seeing some hacked sites
   trying to contact an external host that is causing this error).
 *  Thread Starter [mrlollige](https://wordpress.org/support/users/mrlollige/)
 * (@mrlollige)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2185040)
 * I was afraid of that, but I had no idea where to look to solve it. Indeed there
   were some evil lines in index.php, problem solved!
 * Now, does anyone know how this got there? Am I safe if I change all passwords
   be up to date with newest wordpress? Strange thing is that this website has always
   been WP up to date. Other sites of mine have been “hacked” about a year after
   I quit updating them. They run on the same server though…
 *  [UseShots](https://wordpress.org/support/users/useshots/)
 * (@useshots)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2185061)
 * Hi,
 * Here’s a link to Sucuri’s post about this:
    [http://blog.sucuri.net/2011/07/python-no-such-file-or-directory-your-site-is-likely-compromised.html](http://blog.sucuri.net/2011/07/python-no-such-file-or-directory-your-site-is-likely-compromised.html)
 * In my experience. most of such hacks involve backdoor scripts.
 * Make sure there are no suspicious files and there is no suspicious code in legitimate
   files. (Check themes, plugins and uploads directories).
    You can also scan raw
   log files for suspicious POST requests – this way you may find backdoor file.
 * Of course, changing all site passwords is a very good idea after such incidents.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘sh: /usr/local/bin/python’ is closed to new replies.

## Tags

 * [python](https://wordpress.org/support/topic-tag/python/)
 * [SH](https://wordpress.org/support/topic-tag/sh/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [UseShots](https://wordpress.org/support/users/useshots/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/sh-usrlocalbinpython/#post-2185061)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
