-
Notifications
You must be signed in to change notification settings - Fork 166
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
[Error]: No module named charm #295
Comments
Since there is no more information, I can only guess that the python you are using and the one you have installed are not the same. |
In fact, you can install charm in your project directly |
After following these steps i installed charm The first thing to do is to set-up a Python 3.7.1 environment. We start by downloading Python 3.7 binaries. sudo add-apt-repository ppa:deadsnakes/ppa Then we can install virtualenv to manage the virtual environment; we name this environment py37 and, finally, we activate it. sudo apt install virtualenv Dependencies Charm relies on some libraries. So we can install them by running sudo apt-get install -y libgmp10 libgmp-dev At this point, we can clone the Charm GitHub repository and install all the other dependencies git clone https://github.com/JHUISI/charm Build We try to build Charm running the following commands ./configure.sh Test To assess that the installation is successful, we can run the test suite make test Have fun with Charm! Once the installation finishes and the test suite passes (despite some warnings), we are ready to prototype cryptographic systems from scratch or on top of already-implemented schemes: take a look at the official documentation. after installing: pip show charm-crypto When it is executed show this error... |
I installed charm by following this link
https://zhuanlan.zhihu.com/p/447934026
The installation works and the charm package is installed in /usr/local/src/charm-dev
When I use python3 -> import charm in that path, it works.
But when I use it anywhere else, it gives the error. No module named 'charm'
My question is, why is it so? Also, how can I make it work from anywhere in the system?
The text was updated successfully, but these errors were encountered: