How to use multiple versions of Python without uninstallation

前端 未结 15 1546
醉梦人生
醉梦人生 2021-02-05 14:11

I am faced with a unique situation, slightly trivial but painful.

I need to use Python 2.6.6 because NLTK is not ported to Python 3 (that\'s what I could gather).

15条回答
  •  攒了一身酷
    2021-02-05 14:55

    This page has an implementation of collections.Counter that works for Python 2.6:

    • http://code.activestate.com/recipes/576611/

提交回复
热议问题