VanL / shedskin

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++
0 stars 1 forks source link

I can't run shedskin after installing from source code in windows #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
>> What steps will reproduce the problem?
1. After cloning the project from git, I run: python setup.py install
2. I renamed "C:\Python27\Scripts\shedskin" into 
"C:\Python27\Scripts\shedskin.py" so I can execute it from command prompt.
3. Then I run: shedskin test.py

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

I saw error:

Traceback (most recent call last):
  File "C:\Python27\Scripts\shedskin.py", line 2, in <module>
    import shedskin
  File "C:\Python27\Scripts\shedskin.py", line 3, in <module>
    shedskin.main()
AttributeError: 'module' object has no attribute 'main'

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

Python v2.7 64-bit
OS: Windows 7 64-bit
latest shedskin source code just checked from git now.

>> Please provide any additional information below.

Anyone can explain how is the cpp & hpp files are read from the shedskin?

Regards,
WM

Original issue reported on code.google.com by rdyf4e...@gmail.com on 3 Dec 2014 at 8:39