AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__' in install of Popcorn
4
0
Entering edit mode
6.2 years ago
Apprentice ▴ 170

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 • 7.6k views
ADD COMMENT
0
Entering edit mode
6.2 years ago

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.

ADD COMMENT
0
Entering edit mode
6.2 years ago
Apprentice ▴ 170

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?

ADD COMMENT
0
Entering edit mode

No clue why those weren't seen then.

ADD REPLY
0
Entering edit mode
6.2 years ago
Apprentice ▴ 170

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

ADD COMMENT
0
Entering edit mode
6.2 years ago
Apprentice ▴ 170

Hi

My problem was solved by doing below command.

pip install -r requirements.txt

python setup.py install

Thank you for advices.

ADD COMMENT

Login before adding your answer.

Traffic: 2175 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6