JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
552 stars 167 forks source link

Installing in virtualenv #244

Open andreaferretti opened 4 years ago

andreaferretti commented 4 years ago

I tried to install Charm using the procedure described here (for MacOS). It did work, but the installation is global.

More precisely, I find tried to run the suggested

make
sudo make install

from inside a (Conda) virtualenv. Now, I am not able to use Charm from any other virtualenv.

Even if I repeat

make
sudo make install

from inside a different virtualenv, I am never able to import charm, except from the original virtualenv.

Is there a way to use Charm from multiple virtualenvs? Or better yet, a procedure to install Charm that does not rely on installing globally available libraries?