phaplt / winpython

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

Problem registering WinPython distribution in Windows 7 #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installation of WinPython
2. Registering Distribution in "WinPython Control Panel.exe" 
   (both, executed as normal user as well as administrator)
3. Calling "ipython" in cmd

What is the expected output? What do you see instead?

several error messages, starting with:

  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\Lib\site.py", line 548, in <module> main()
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\Lib\site.py", line 530, in main known_paths = addusersitepackages(known_paths)

...

ImportError: cannot import name MAXREPEAT

What version of the product are you using? On what operating system?

I tried each of the following packages:
WinPython-64bit-2.7.5.3.exe
WinPython-64bit-2.7.5.2.exe
WinPython-32bit-2.7.5.3.exe
OS: Windows 7, 64bit, non-administator account

Please provide any additional information below.

before, there have been other Python packages installed. E.g. the global 
environment variable PYTHONPATH was set. Deleting this environment variable and 
repeating the registration did not change the problem. 

Obviously, the registering has no effect, because I do not see any environment 
variables being modified by this. 

Original issue reported on code.google.com by m.strack...@gmail.com on 12 Dec 2013 at 1:01

GoogleCodeExporter commented 9 years ago

I now fixed the issue for me by defining the variables which are set in the 
batch file "env.bat" manually.

Original comment by m.strack...@gmail.com on 12 Dec 2013 at 4:22