carrot icon indicating copy to clipboard operation
carrot copied to clipboard

carrot.utils - cannot import _uuid_generate_random - python 2.7.11

Open ericpershey opened this issue 8 years ago • 2 comments

Line 1 of carrot/utils.py imports _uuid_generate_random which no longer exists in python 2.7.11. I am running python 2.7.11 on Windows 10 currently.

Possible code to fix. try: from uuid import _uuid_generate_random except ImportError: _uuid_generate_random = None ... import other stuff

ericpershey avatar Mar 01 '16 23:03 ericpershey

Hi,

Also affecting Ubuntu 16.04 users as using python 2.7.11.

Thanks.

vkhalil avatar Jun 29 '16 11:06 vkhalil

@ericpershey @vkhalil I guess the library is still available under python2.7 the docs It does not tell deprecated or not in development. You need to install this correctly. There might be unavailibility of official version in 16.04 but you can always try unofficial ports of uuid. You may try this for help. Thank you. :smile_cat: :smile_cat:

arpit1997 avatar Oct 30 '16 09:10 arpit1997