DINKIN / winpython

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

wppm command-line tool fails to start #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From Start|All Programms|WinPython launch "WinPython Command Prompt"
2. Once at the prompt type wppm and press <enter>

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

E:\Prog\WinPython-32bit-2.7.3.3\python-2.7.3>wppm
Traceback (most recent call last):
  File "E:\Prog\WinPython-32bit-2.7.3.3\python-2.7.3\Scripts\wppm", line 4, in <module>
    from winpython import wppm, utils
  File "C:\Python27\Lib\site-packages\winpython\wppm.py", line 24, in <module>
    from winpython.config import get_data_path
  File "C:\Python27\Lib\site-packages\winpython\config.py", line 19, in <module>
    add_image_path(get_module_data_path('spyderlib', relpath='images'))
  File "C:\Python27\Lib\site-packages\guidata\configtools.py", line 32, in get_module_data_path
    datapath = getattr(sys.modules[modname], 'DATAPATH', '')
KeyError: 'spyderlib'

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

WinPython-32bit-2.7.3.3 on Windows 7 Professional (64bit)

Please provide any additional information below.

Original issue reported on code.google.com by albert.z...@gmail.com on 24 Mar 2013 at 5:22

GoogleCodeExporter commented 9 years ago
For me the next solution works.

Insert into the file:
...\WinPython-32bit-2.7.3.3\python-2.7.3\Lib\site-packages\winpython\wppm.py
at line 23 the next statement:
import spyderlib

Original comment by albert.z...@gmail.com on 24 Mar 2013 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by pierre.raybaut on 10 Aug 2013 at 1:13