Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'downcaseTokens' is not defined #18

Open
Guofeng-Lin opened this issue Nov 29, 2021 · 3 comments
Open

NameError: name 'downcaseTokens' is not defined #18

Guofeng-Lin opened this issue Nov 29, 2021 · 3 comments

Comments

@Guofeng-Lin
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants