Charmcrypto Installation: ImportError during make

201 views
Skip to first unread message

Vishnu Venukumar

unread,
Oct 3, 2016, 8:11:47 AM10/3/16
to Charm-Crypto Help
Hi,

I was trying to install Char-crypto python 3 version on Ubuntu 16.04 VM. 
I have installed all specified dependencies, however, the process fails with the following error during make.

Setup build/staging directories
set -x
set +x
Building the Charm Framework
/usr/bin/python3.5 setup.py build  
Extracting in /tmp/tmpe5mss03y
Traceback (most recent call last):
  File "/home/vishnu/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 143, in use_setuptools
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    use_setuptools() #bootstrap installs Distribute if not installed
  File "/home/vishnu/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 145, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/home/vishnu/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 125, in _do_download
    _build_egg(egg, tarball, to_dir)
  File "/home/vishnu/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 99, in _build_egg
    _extractall(tar)
  File "/home/vishnu/Downloads/Charm-Crypto-0.43/distribute_setup.py", line 470, in _extractall
    self.chown(tarinfo, dirpath)
TypeError: chown() missing 1 required positional argument: 'numeric_owner'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 1

Can someone help me solve this?

Sangeetha Raghu

unread,
Jan 2, 2018, 2:09:27 AM1/2/18
to Charm-Crypto Help
I am also getting the same error please help me if you found any way to solve this issue

Marcos Portnoi

unread,
Jan 2, 2018, 5:18:23 PM1/2/18
to Charm-Crypto Help
I suggest using Python 3.4. I could not make the installation work in Python 3.5.

MP

Shivam Mutreja

unread,
Aug 10, 2018, 5:18:13 AM8/10/18
to Charm-Crypto Help
Hi,

Did you manage to make it work with python3.5?

On Monday, 3 October 2016 17:41:47 UTC+5:30, Vishnu Venukumar wrote:

Marcos Portnoi

unread,
Aug 10, 2018, 11:44:18 AM8/10/18
to Charm-Crypto Help
Not up to June 2017 (have not touched it since then). I was at the end of
the project for my dissertation and did not have time to experiment with
python 3.5 anymore, but it is feasible that it might work fine now with
updated installers and etc.

MP
Reply all
Reply to author
Forward
0 new messages