sagrawal87 / ABE

Attribute-based Encryption
MIT License
191 stars 69 forks source link

NameError: name 'downcaseTokens' is not defined #18

Open Guofeng-Lin opened 2 years ago

Guofeng-Lin commented 2 years ago

Hi, I am trying to run your code on Ubuntu 18.04 with python3.6 and charm-crypto 0,50.

So far the compiling process is okay. All implementation of "make" and "make install" are all right. But the error "NameError: name 'downcaseTokens' is not defined" occurs when I run the code.

As far as I know, your code depends on python2.7 enviroment. Is there any conflicts between the code and python3.X? How should I fix this problem?

Guofeng-Lin commented 2 years ago

Hi, I am trying to run your code on Ubuntu 18.04 with python3.6 and charm-crypto 0,50.

So far the compiling process is okay. All implementation of "make" and "make install" are all right. But the error "NameError: name 'downcaseTokens' is not defined" occurs when I run the code.

As far as I know, your code depends on python2.7 enviroment. Is there any conflicts between the code and python3.X? How should I fix this problem?

The cause of this error has been found. Pyparsing version in my Ubuntu is 3.0.6, which is incompatible with Charm-Crypto 0.50. When replacing Pyparsing 3.0.6 with 2.4.6, problem solved.

liuxiaoqian0724 commented 2 years ago

Hi, I am trying to run your code on Ubuntu 18.04 with python3.6 and charm-crypto 0,50. So far the compiling process is okay. All implementation of "make" and "make install" are all right. But the error "NameError: name 'downcaseTokens' is not defined" occurs when I run the code. As far as I know, your code depends on python2.7 enviroment. Is there any conflicts between the code and python3.X? How should I fix this problem?

The cause of this error has been found. Pyparsing version in my Ubuntu is 3.0.6, which is incompatible with Charm-Crypto 0.50. When replacing Pyparsing 3.0.6 with 2.4.6, problem solved.

useful!!!!Thank you!!!

Eternaldeath commented 6 months ago

Hi, I am trying to run your code on Ubuntu 18.04 with python3.6 and charm-crypto 0,50. So far the compiling process is okay. All implementation of "make" and "make install" are all right. But the error "NameError: name 'downcaseTokens' is not defined" occurs when I run the code. As far as I know, your code depends on python2.7 enviroment. Is there any conflicts between the code and python3.X? How should I fix this problem?

The cause of this error has been found. Pyparsing version in my Ubuntu is 3.0.6, which is incompatible with Charm-Crypto 0.50. When replacing Pyparsing 3.0.6 with 2.4.6, problem solved.

nice work,thanks