adirschlezinger / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Pythonxy not functioning correctly if installed without administrator rights #639

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1.) 2.7.3.1

2.)
   a.) Yes
   b.) No
   c.) Selected all plugins

3.) Yes

4.) For the directory prompts:
   C:\Project Data\Python\PythonXY
   C:\Project Data\Python\PythonXY\Doc
   C:\Project Data\Python\MinGW
   C:\Project Data\Python

5.) See above

6.) Current User Only

7.) Windows 7

8.) Yes

9.) A regular user

10.) Double clicking installer

11.) a. No preexisting Python installation

What steps will reproduce the problem?
1. Install without administrator privileges
2. Run xyhome.pyw from Scripts directory

What is the expected output? What do you see instead?
Complete installation (compared to installation on personal machine) is not 
achieved when installer is run without administrator privileges. When 
xyhome.pyw is run there is a runtime error (pasted below). Files copied from a 
successful install on another machine (to the same file paths) result in the 
same error. 

From some poking I'm assuming it's due to the inability of the installer to 
appropriately modify the registry during installation.

Interactive mode dump:
Traceback (most recent call last):
  File "C:\Project Data\Python\Scripts\xyhome.pyw", line 20, in <module>
    from xy import xyhome
  File "C:\Project Data\Python\lib\site-packages\xy\xyhome.pyw", line 28, in <mo
dule>
    from xy.config import (CONF, STARTUP_PATH, LOG_PATH, PLUGINS, XY_VERSION,
  File "C:\Project Data\Python\lib\site-packages\xy\config.py", line 126, in <mo
dule>
    PLUGINS = getplugins()
  File "C:\Project Data\Python\lib\site-packages\xy\config.py", line 74, in getp
lugins
    raise RuntimeError, "Python(x,y) is not installed on this computer"
RuntimeError: Python(x,y) is not installed on this computer
>>>

Original issue reported on code.google.com by s.corn...@gmail.com on 8 Apr 2013 at 7:10

GoogleCodeExporter commented 9 years ago
I likely will not be able to obtain administrator rights to install pythonxy, 
as it is not on on the approved software list. Is there a way to work around 
this error?

Full disclaimer: I have no experience with Python, I've been looking at picking 
it up as an alternative to MATLAB.

Thanks.

Original comment by s.corn...@gmail.com on 8 Apr 2013 at 7:11