You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to install python 3.4 and create a virtualenv for it on Ubuntu 14.04. Fails with error:
==> default: Error: sh: 1: virtualenv-3.4: not found
==> default: sh: 1: /srv/django-envs/pymania/bin/pip: not found
==> default: sh: 1: /srv/django-envs/pymania/bin/pip: not found
==> default:
==> default: Error: /Stage[main]/Python-env/Python::Virtualenv[/srv/django-projects/pymania]/Exec[python_virtualenv_/srv/django-envs/pymania]/returns: change from notrun to 0 failed: sh: 1: virtualenv-3.4: not found
@Faulik Thanks. It seems this issue occurs when I have virtualenv installed via apt. uninstalling it, and re-installing virtualenv via pip seems to solve the issue too.
trying to install python 3.4 and create a virtualenv for it on Ubuntu 14.04. Fails with error:
==> default: Error: sh: 1: virtualenv-3.4: not found
==> default: sh: 1: /srv/django-envs/pymania/bin/pip: not found
==> default: sh: 1: /srv/django-envs/pymania/bin/pip: not found
==> default:
==> default: Error: /Stage[main]/Python-env/Python::Virtualenv[/srv/django-projects/pymania]/Exec[python_virtualenv_/srv/django-envs/pymania]/returns: change from notrun to 0 failed: sh: 1: virtualenv-3.4: not found
This is the Puppet file:
class python-env {
class { 'python':
version => '3.4',
pip => true,
dev => true,
virtualenv => true,
}
python::virtualenv { '/srv/django-projects/pymania' :
ensure => present,
version => '3.4',
systempkgs => true,
distribute => false,
venv_dir => '/srv/django-envs/pymania',
owner => 'root',
group => 'root',
cwd => '/srv/django-projects/pymania',
timeout => 0,
require => File['/srv/django-envs/']
}
file { "/srv/django-projects/":
ensure => "directory",
}
file { "/srv/django-envs/":
ensure => "directory",
}
}
The text was updated successfully, but these errors were encountered: