Skip to content

Error installing molsets due to dependency pomegranate==0.12.0 #104

@dbhaskar92

Description

@dbhaskar92

pip install molsets on Ubuntu 20.04.4 LTS with Python 3.8.13 and GCC 7.5.0 fails due to an error in installing a dependency.

Building wheel for pomegranate (setup.py) resulted in the following error:

building 'pomegranate.distributions.NeuralNetworkWrapper' extension

  gcc -pthread -B /home/dhanajayb/anaconda3/envs/DeepChem/compiler_compat -Wl,--sysroot=/ -Wsign-compare 
  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
  -I/home/dhanajayb/anaconda3/envs/DeepChem/include/python3.8 
  -I/home/dhanajayb/anaconda3/envs/DeepChem/lib/python3.8/site-packages/numpy/core/include 
  -c pomegranate/distributions/NeuralNetworkWrapper.c 
  -o build/temp.linux-x86_643.8/pomegranate/distributions/NeuralNetworkWrapper.o
  
  gcc: error: pomegranate/distributions/NeuralNetworkWrapper.c: No such file or directory
  error: command '/usr/bin/gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for pomegranate

pip install pomegranate successfully installs pomegranate-0.14.8 on this machine. Has anyone else experienced this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions