activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Error in directions from virtualenv

Open theguybieber opened this issue 9 years ago • 5 comments

README.md has this command to great a virtual environment:

virtualenv venv --python=python3 --clear

This does not work. Here is the python3 recommended way (which works):

python3 -m venv venv

theguybieber avatar Jun 02 '17 01:06 theguybieber

Thanks a lot for the help!

I think both me and @erikbjare usually don't run activitywatch in virtualenv, but still recommend it due to aw not being complete and doesn't have a 1.0 release yet.

Fixed this in a4b67a0

johan-bjareholt avatar Jun 02 '17 06:06 johan-bjareholt

I frequently run ActivityWatch in a virtualenv. Not sure why the plain virtualenv command didn't work for you (might be different depending on platform/setup) but thanks for pointing it out. The python3 -m method sure is better, thanks @theguybieber!

ErikBjare avatar Jun 02 '17 06:06 ErikBjare

@ErikBjare We both usually run either linux or windows though, I'm guessing that neither of us have tested virtualenv on mac before? Might have been an incompatability there?

johan-bjareholt avatar Jun 02 '17 08:06 johan-bjareholt

@johan-bjareholt Yeah, probably something along those lines I assume.

@theguybieber What was the exact error you were getting? How did it "not work"?

ErikBjare avatar Jun 02 '17 09:06 ErikBjare

Weird. I just tried it again and it's working. Before it wasn't generating all the files in the venv/bin directory. In particular, none of the activate scripts you need to source to run in the virtual environment.

theguybieber avatar Jun 02 '17 13:06 theguybieber