. bin/activate will only work with bash compatible shells.

Try . bin/activate.fish. instead

Steve
On 20 May 2013 19:12, "Gour" <g...@atmarama.net> wrote:

> On Fri, 21 Sep 2012 13:46:25 +0100
> Peter Flood <i...@whywouldwe.com> wrote:
>
> > I had exactly that problem until I updated virtualenv to 1.8.2 (I
> > think I was on 1.7.? before), now all is good. I assume the
> > activate.fish script has been updated in the latest version (you'll
> > have to delete and recreate your virtualenvs to use the new script,
> > use a requirements file to do so).
>
> Now I'm on Debian Sid with virtualenv-1.9.1 running fish-2.0, but still
> have the problem:
>
> gour@atmarama ~/p/p/django (master)> virtualenv --no-site-packages
> tutorial
> New python executable in tutorial/bin/python
> Installing
> distribute...........................................................................................................................................................................................................................done.
> Installing pip................done.
> gour@atmarama ~/p/p/django (master)> cd tutorial/
> gour@atmarama ~/p/p/d/tutorial (master)> . bin/activate
> fish: Illegal command name “}”
> /home/gour/prj/python/django/tutorial/bin/activate (line 37): }
>                                                               ^
> in . (source) call of file
> “/home/gour/prj/python/django/tutorial/bin/activate”,
>     called on standard input,
>
> fish: Could not locate end of block. The “end” command is missing,
> misspelled or a “;” is missing.
> /home/gour/prj/python/django/tutorial/bin/activate (line 78): if [ -n
> "$BASH" -o -n "$ZSH_VERSION" ] ; then
>                                                               ^
> in . (source) call of file
> “/home/gour/prj/python/django/tutorial/bin/activate”,
>     called on standard input,
>
>
> Is it known issue, something wrong with my setup or virtualenv + fish
> simply
> does not play well together?
>
>
> Sincerely,
> Gour
>
> --
> The spirit soul bewildered by the influence of false ego thinks
> himself the doer of activities that are in actuality carried out
> by the three modes of material nature.
>
> http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to