Submitted by darkwell on Fri, 05/07/2010 - 17:50
Posted in
I attempted an installation red R on MS Vista and all the files installed on my correctly, but the icon to open the program didnot install. The icon for python installed on my desktop, but did not link to a program. Any suggestions as to how I might correct this issue ?
OK just checked the installer and we look for the exact python 2.6 registry key that would be installed by python. Don't know where the error is coming from. Glad you got the problem resolved though. Could you post what you did to resolve the problem here so others can see if they have this problem. I'll ask Anup if he has seen these errors before.
Kyle
No. I don't have python2.5 installed. I am planning to install python2.5 once the QGIS 1.5 release in few days.
Noli
OK, that's really strange. The installer checks for the existence of required packages and then decides to install or not. Do you have a concurrent instance of python 2.5? The installer might be finding some of the files in the python 2.5 directory. I can have the installer check for this and not allow installation into a 2.5 directory.
Kyle
It is working now. I just installed all the needed packages that I download manually.
Noli
Hi Kyle,
This installer got a problem in Windows XP.
~~~~~~~~~~
Red-R 1.75 Full Snapshot Last updated 13 July 2010
Includes all the components required for run and develop Red-R.
Installs: Python 2.6.4, PyQt 4.5.4, PyQwt5.2.0, pywin32-214, PIL 1.1.7, numpy 1.3.0.
This is a snapshot version with new functionality that is likely to change.
~~~~~~~~~~~
I did a clean install. I even remove the python and pyqt4 registerers using regedit just to make it sure that no python and pyqt installation in my computer.
The problem.
It unpack python2.6.5msi into the C:\Documents and Settings\All Users\Desktops, installed it and delete it. ONLY python2.6.5 and then nothing... No other packages are unpack in the desktop. However, the logs in the installation screen is display the unpacking, installing and deleting.
I keep on installing but nothing is really installed except python2.6. I also look at site packages and nothing is installed.
Probably you can check it, download the installer and install it in Windows XP machines.
I keep on tinkering and see what happen.
Thanks.
Noli
Looking at this error.
~~~~~~~~~~~
from RSession import Rcommand
File "C:\Program Files\Red-R\Red-R-1.75\canvas\RSession.py", line 6, in
from rpy_options import set_options
ImportError: No module named rpy_options
~~~~~~~~~~~~
Is the related to R package installation. I have R-2.11.0 before I install RED-R.
It might now related to previous R installation. I read https://red-r.org/downloads page again.
I have a suggestion. I think if you be good to have options what to download.
a. Full Installation - the current download (python2.6.2, pyqt
b. Just RED-R to install the current python2.6 installation. It is also small download to people who wants to try RED-R. Just remind folks what are the dependecies of the RED-R.
When I renamed my python26 (2.6.5), I saw that the installer try to installed 2.6.2 as I can remember - it hangs so I aborted it.
I try uninstalling all my python packages and remove python2.6 directory. I think it will solve the problem which probably the normal python user would not do just to try RED-R.
I am committed to run RED-R in my machine today :-).
Update:
Uninstalling and installing does not help. It installs python 2.6.5 but not pyqt, I got pyqt error. I have to uninstall again and this time reboot the computer. I hate rebooting computer since you have to visit web sites again and opening the pages including this forum.
Thanks.
Noli
Hi Kyle.
I tried to uninstalled the latest pyqt4.7.2 and the pyqwt and installed RED-R again. Now, the RED-R is looking for pyqt. I download and installed pyqt4.5.2 from pyqwt site. This is help a bit. But now, I have this error.
from rpy_options import set_options
ImportError: No module named rpy_options
BTW, how do this installer work? Is the install got all the packages already when you download the RED-R installer? I think I have to delete python26 folder and install RED-R again and also uninstalled pyqt and pyqwt.
Noli
~~~~~~~~
>pythonw -u "red-RCanvas.pyw"
Traceback (most recent call last):
File "red-RCanvas.pyw", line 12, in
import orngRegistry, OWGUI
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngRegistry.py", line 5, in
from orngSignalManager import OutputSignal, InputSignal
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngSignalManager.py", line 7, in
from orngCanvasItems import MyCanvasText
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngCanvasItems.py", line 9, in
import signals, redREnviron
File "C:\Program Files\Red-R\Red-R-1.75\canvas\signals.py", line 3, in
import glob,os.path,redREnviron,orngOutput
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngOutput.py", line 11, in
import os.path, os, redRGUI, redREnviron
File "C:\Program Files\Red-R\Red-R-1.75\canvas\redRGUI.py", line 64, in
qtwidget = imp.load_source('base' + guiClass,filename)
File "C:\Program Files\Red-R\Red-R-1.75\libraries/base/qtWidgets\Rtable.py", line 2, in
from RSession import Rcommand
File "C:\Program Files\Red-R\Red-R-1.75\canvas\RSession.py", line 6, in
from rpy_options import set_options
ImportError: No module named rpy_options
>Exit code: 1 Time: 3.435
The installer does supply Qwt. Simply install the installer and all should work OK.
Did you get Red-R from source. What version of Red-R did you use?
Kyle
I think this problem is related to Qwt not installed (see errors below)
Qwt dependency must be noted in the installation, not just PyQWT. The only problem is, QWT does n't have precompiled share libraries (qwt.dll, qwt.dylib and qwt.so).
I don't like downloading big files especially I don't have a good broadband plan (i.e. 3G mobile broadband) - Qt for Windows LGPL is quite big download.
Probably Red-R can provide Qwt.dll for windows users.
I am installing in Windows XP.
Thanks, Noli
~~~~~~~~~~~
>pythonw -u "red-RCanvas.pyw"
Traceback (most recent call last):
File "red-RCanvas.pyw", line 12, in
import orngRegistry, OWGUI
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngRegistry.py", line 5, in
from orngSignalManager import OutputSignal, InputSignal
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngSignalManager.py", line 7, in
from orngCanvasItems import MyCanvasText
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngCanvasItems.py", line 9, in
import signals, redREnviron
File "C:\Program Files\Red-R\Red-R-1.75\canvas\signals.py", line 3, in
import glob,os.path,redREnviron,orngOutput
File "C:\Program Files\Red-R\Red-R-1.75\canvas\orngOutput.py", line 11, in
import os.path, os, redRGUI, redREnviron
File "C:\Program Files\Red-R\Red-R-1.75\canvas\redRGUI.py", line 64, in
qtwidget = imp.load_source('base' + guiClass,filename)
File "C:\Program Files\Red-R\Red-R-1.75\libraries/base/qtWidgets\redRGraph.py", line 5, in
from PyQt4.Qwt5 import *
File "C:\Python26\lib\site-packages\PyQt4\Qwt5\__init__.py", line 32, in
from Qwt import *
ImportError: DLL load failed: The specified procedure could not be found.
The weekly snapshot for last week contains an error in file creation. This was fixed in a the next days nightly build in the Full section. The nightly build can be downloaded here:
http://r-orange.googlecode.com/files/Red-R-1.7-Nightly.exe
If the error is not fixed by this then running the application in the python IDLE (open python from the start menu, select the redRCanvas.pyw file by opening InstallDirectory (generally Start Menu)/Red-R/Red-R-Version-XX/canvas/redRCanvas.pyw)
Then if there is an error we can help from there.
While the installation seemed to go fine, I can't find the base application to initiate my first schema. Please help me get started.
Great. You can also try the compiled self-contained executable which does not need to install python or any of the other dependencies.
I uninstalled and then reinstalled and all is well