installation problem on FC 11

Python Prescription - Virtual Screening Tool

installation problem on FC 11

Postby tevang » Fri Dec 18, 2009 1:19 pm

Dear developers,

I'm trying to install the source since the binary yields exceptions. After installation is complete I get the following:

thomas@thomas:~/Documents/pyrx/PyRxDev$ sudo python runPyRx.py
[sudo] password for thomas:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
No module named mglutil.util.packageFilePath
Traceback (most recent call last):
File "runPyRx.py", line 16, in <module>
from PyRx.wxMainFrame import MainFrame
File "/home/thomas/Documents/pyrx/PyRxDev/PyRx/wxMainFrame.py", line 8, in <module>
from utils import rcFolder
File "/home/thomas/Documents/pyrx/PyRxDev/PyRx/utils.py", line 6, in <module>
from mglutil.util.packageFilePath import getResourceFolder
ImportError: No module named mglutil.util.packageFilePath



I used sudo because I installed it as the administrator. When I dont I get:


thomas@thomas:~/Documents/pyrx/PyRxDev$ python runPyRx.py
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
No module named preferences.api
Traceback (most recent call last):
File "runPyRx.py", line 16, in <module>
from PyRx.wxMainFrame import MainFrame
File "/home/thomas/Documents/pyrx/PyRxDev/PyRx/wxMainFrame.py", line 9, in <module>
from enthought.preferences.api import get_default_preferences
ImportError: No module named preferences.api


This is my wxPython:

Name : wxPython
Arch : x86_64
Version : 2.8.9.2
Release : 2.fc11


Any ideas what's wrong?

thanks in advance,
Tom
User avatar
tevang
Micromolar User
Micromolar User
 
Posts: 10
Joined: Fri Dec 18, 2009 12:42 pm

Re: installation problem on FC 11

Postby sargis » Fri Dec 18, 2009 6:34 pm

Thank you for the message Tom. Installing PyRx from source is (currently) difficult. Please read my post Re: installation problem on 64 bit FC 11, as it's easier to troubleshoot problems with binary installer rather than trying to install PyRx from source. What the above error messages show is that your Python interpreter can't find corresponding package. You'll need to install them from source or tell Python where to find them if you already installed them. Thanks!

Update: PyRx was included in Open Discovery. Users who are having problems with installing binaries can now use Open Discovery that comes with working PyRx binaries installed.
User avatar
sargis
Site Admin
Site Admin
 
Posts: 399
Joined: Fri Oct 17, 2008 10:39 pm


Return to PyRx

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron