CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
793 stars 75 forks source link

osx virtualenv of python3, green running python2.7? #147

Closed ghost closed 7 years ago

ghost commented 7 years ago

I installed green in a virtualenv on osx, but when running it, it used python2.7.

is there a way to force it to use the python version I need it to?

dougthor42 commented 7 years ago

Can you provide more details on what exactly you did? Perhaps the commands you ran?

ghost commented 7 years ago

@dougthor42 Sorry about that... didn't notice the notification. I'll have to have them pull out their mac.

CleanCut commented 7 years ago

In general, the answer is simply "install green using pip inside the virtualenv".

Alternatively, you can run "path/to/virtualenv/python -m green"