This is a test version of Biostars. For the public version, visit https://www.biostars.org.
AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__' in install of Popcorn

Hi.

I'm trying to install Popcorn.

I got an error message when I do $ python setup.py install.

AttributeError: 'dict' object has no attribute 'NUMPY_SETUP'

Could you give me any advice to install Popcorn?

I use CentOS 7 and python 2.7.

snp python

4 answers

The error occurs when installing Bottleneck (I had to track this down by looking at the bug report you posted on github). Most likely you need to just pip install Bottleneck or ensure that numpy is installed.

Thank you for your comment.

I already have installed Bottleneck 1.2.1 and numpy 1.15.2. But the error messages were obtained.

Do you have any other advices?

No clue why those weren't seen then.

I attached an error message file about this problem. Please give me any advices if you noticed.

https://github.com/brielin/Popcorn/files/2440225/log.txt

Hi

My problem was solved by doing below command.

pip install -r requirements.txt

python setup.py install

Thank you for advices.

Log in to answer this question.