getpelican / pelican

Static site generator that supports Markdown and reST syntax. Powered by Python.
https://getpelican.com
GNU Affero General Public License v3.0
12.58k stars 1.81k forks source link

sudo can't find pelican-themes #2341

Closed Dunaway-Group-LLC closed 6 years ago

Dunaway-Group-LLC commented 6 years ago

Wazzup? console.txt

avaris commented 6 years ago

Most likely sudo is overriding the PATH set by virtualenv. See: https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path

Dunaway-Group-LLC commented 6 years ago

Works! FYI - sudo env "PATH=$PATH" is required

Les Dunaway 770-490-7546

On Wed, May 2, 2018, at 11:30, Deniz Turgut wrote:

Most likely sudo is overriding the PATH set by virtualenv. See: https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path> — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[1], or mute the thread[2].>

Links:

  1. https://github.com/getpelican/pelican/issues/2341#issuecomment-386019359
  2. https://github.com/notifications/unsubscribe-auth/AINUysE1Q_CUVaSqsP_ucE-fQpyfdHaYks5tudEkgaJpZM4TuoWV