Jump to content
Korean Random

Проблема с компиляцией python под 0.9.0


CiliZ

Recommended Posts

Это моя первая просьба о помощи и прошу ногами не пинать :dots:

 

1. Качаю любой мод (В данном случае spotMessanger - удоведомление в чат о засвете);

2. Дэкомпелирую с помощью uncompyle2 (Python version 2.7);

3. Сразу компилирую при помощи этого метода (Python version 2.6);

4. В логе python'a вижу строку не валидности скомпилированного модуля

(scripts/client/modsOOP/spotMessanger/SpotMessanger.pyc is not a valid Python compiled module file)

 

Ткните носом, будьте так добры.

 

 

Link to comment
Short link
Share on other sites

дело в том что новая версия движка bigworld, которая начала использоваться использует python 2.7. Соответственно и компилировать надо уже в ней. Лог пишет, что модуль не валидный, тоесть не та версия

  • Upvote 1
Link to comment
Short link
Share on other sites

использует python 2.7. Соответственно и компилировать надо уже в ней

Спасибо! Видимо моя сонная голова сама не смогла подумать о такой возможности.

Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...