Hi Rob,
Thanks! Your commands did not quite work, but they came close enough that I found the motivation to do the much-reduced "incremental googling" needed to make them work.
I'm on a Mac (close enough to linux) and normally use tcsh (for this test, I switched to bash). To make your commands work, I only had to:
- first do 'sudo pip install virtualenv --upgrade' (I don't know if this was necessary, but my prior version was old)
- replace 'python -m venv' with 'virtualenv' in your suggested commands -- without this, it failed with "No module named venv" (even after upgrading virtualenv). (I never upgraded pip -- could that be the problem? Another possibility -- my python 2.7 comes from ActiveState (ActivePython 2.7.8.10), not
python.org.)
Anyway, after that, "python" was using the new pyglet, and the first pyglet program I tried worked. I will keep using the new pyglet and report any problems. (BTW, thanks very much for all your work in producing this upgrade.)
Do you happen to know whether .pyc files should be compatible between virtualenvs (assuming the same python executable produced them, not counting virtualenv's copy as being different from the one it was based on), or should I remove all .pyc files when switching virtualenvs, as a precaution? (I know that, in theory, .pyc files are supposed to contain version information that makes it unnecessary to ever remove them, but in practice, I have had crashes from not removing them when switching python executables.)
- Bruce Smith