Issue #1 closed

Problems encountered installing

lowks
created an issue

I had problems installing via pip install virtualenv-sh, so I tried downloading the source and I got this:

lowks@lowkster:~/src/python/virtualenv-sh> python setup.py build running build running build_scripts error: file '/home/lowks/src/python/virtualenv-sh/scripts/virtualenv-sh.sh' does not exist

Comments (7)

  1. lowks reporter

    Well, it installed okay, but then, I can't seem to find the commands like 'lsvirtualenvs' here is the output of running 'bash -x /usr/bin/virtualenvs-sh'

    lowks@lowkster:~> bash -x /usr/bin/virtualenv-sh.bash + virtualenv_sh_init + '[' -z '' ']' + WORKON_HOME=/home/lowks/.virtualenvs + '[' -e /home/lowks/.virtualenvs ']' + '[' '!' -d /home/lowks/.virtualenvs ']' + _virtualenv_sh_hook_functions= + '[' '!' -e /home/lowks/.virtualenvs ']' + virtualenv_sh_init_features + complete -o default -o nospace -F _virtualenv_sh_complete_virtualenvs workon + complete -o default -o nospace -F _virtualenv_sh_complete_virtualenvs rmvirtualenv + complete -o nospace -F _virtualenv_sh_complete_cdvirtualenv -S/ cdvirtualenv + complete -o nospace -F _virtualenv_sh_complete_sitepackages -S/ cdsitepackages + virtualenv_sh_run_hook initialize + '[' ']' + '[' ']' + _run_hook_env_name= + case $1 in + case $1 in + virtualenv_sh_run_global_hook initialize + '[' -n /home/lowks/.virtualenvs ']' + '[' -r /home/lowks/.virtualenvs/initialize ']' + . /home/lowks/.virtualenvs/initialize + virtualenv_sh_run_hook_functions initialize + unset _run_hook_env_name

  2. Peter Sagerson repo owner

    I don't use bash, so I can't comment on what -x does. From a bash shell, you should be able to run source /path/to/virtualenv-sh.bash followed by lsvirtualenvs. You'll have to figure out where pip installed the scripts; it depends on your system and Python configuration.

  3. Log in to comment