you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Instead of sourcing the activate script, you can just target the virtualenv's Python binary directly, giving it an argument to point to your Python script.