Use Of Dinup
2
0
Entering edit mode
12.3 years ago
Sameet ▴ 300

Hi,

Has anybody had any success in installing the DiNuP module (Fu etal, Bioinformatics, 2012, Vol 28).

When i have tried to install, i get the error:

Traceback (most recent call last):
File "./dinup", line 35, in <module>
from DINUP.Peak_Detect import *
ImportError: No module named DINUP.Peak_Detect

All advice is appreciated

Best,

Sameet

• 3.0k views
ADD COMMENT
0
Entering edit mode

I tried installing it now, and it worked without any problems. What python version are you running?

ADD REPLY
0
Entering edit mode

I have version 2.7 in one case and 2.6.1 in the other. The 2.7 version machine is a Linux box, the other is a MacPro (Desktop).

ADD REPLY
1
Entering edit mode

I'm running 2.7 and and it works, so it's probably not a version issue then. One possibility is that the download was corrupted - since it does not seam to find the module your looking for. I assume that you have followed the instructions for how to install: http://www.tongji.edu.cn/~zhanglab/DiNuP/install.html

ADD REPLY
0
Entering edit mode

Yes, i did follow the instructions in the given link to the t.

ADD REPLY
0
Entering edit mode

It seems that the local install with python setup.py install --prefix ${HOME}/local does not work, but installation on global scale works.

ADD REPLY
0
Entering edit mode

Weird. But then at least it works. :)

ADD REPLY
1
Entering edit mode
12.2 years ago
kelvinfu.tju ▴ 10

Hi Sammet, for a local install, you can first open a terminal and then type: export PYTHONPATH= PATH OF DiNuP + /lib/python2.6/site-packages/:$PYTHONPATH, for example, if my --prefix= /software/dinup, it should be export PYTHONPATH=/software/dinup/lib/python2.6/site-packages/:$PYTHONPATH, in this way, Python will know the pwd of the DiNuP.

ADD COMMENT
0
Entering edit mode
12.3 years ago

Adding an answer to close this from being unanswered. As msmeet above states:

It seems that the local install with python setup.py install --prefix ${HOME}/local does not work, but installation on global scale works.

ADD COMMENT

Login before adding your answer.

Traffic: 1961 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