Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • The output of (which ipython) -c "import sys; print(sys.executable)" gives /Users/jab/.virtualenvs/tools/bin/python. what does ls -l /Users/jab/.virtualenvs/tools/bin/python return? Commented May 11, 2018 at 16:22
  • FYI: the python (pip, ...) command runs fine: from the virtualenv. Commented May 11, 2018 at 16:23
  • $ ls -l /Users/jab/.virtualenvs/tools/bin/python gives -rwxr-xr-x 1 jab staff 42720 Nov 9 2016 /Users/jab/.virtualenvs/tools/bin/python Commented May 11, 2018 at 16:24
  • 1
    @jalanb Your command $ (which ipython) -c ... should actually be $ $(which ipython) -c ..., since you need $(...) for command substitution in order to use that. Maybe you should update your question to do that (or just use the full path /Users/jab/.virtualenvs/tools/bin/ipython directly, since there's no ambiguity there...) Commented May 11, 2018 at 18:25
  • 1
    @FilipeBrandenburger Thanks, good catch (and bad paste!). Updated. Commented May 11, 2018 at 18:50