Nothing Special   »   [go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Port to Python3.X #79

Open
moden-py opened this issue Dec 19, 2015 · 3 comments
Open

Port to Python3.X #79

moden-py opened this issue Dec 19, 2015 · 3 comments
Assignees

Comments

@moden-py
Copy link
Contributor

Python 3 can automatically solve a lot on unicode problems.
Blocker now - there are no native WXPython for Python 3.
Should try Phoenix - port WX for Pyhon 3. http://wxpython.org/Phoenix/docs/html/

@moden-py moden-py self-assigned this Dec 19, 2015
@tchakravarty
Copy link
tchakravarty commented Apr 18, 2016

Had some issues related to installing SWAPY on a Windows 8.1 Pro 64-bit machine. Was not able to find any clear installation instructions, so assumed that running the instructions in the build.bat file in the repo would suffice. Note that I have both Python 3 and Python 2 installed (Anaconda 64-bit) and that the default Python on the command line is Python 3.

I cloned the repo, and installed the dependencies, and not knowing that this was Python 2 software, I tried to execute the build.bat steps with Python 3. This would not work, and resulted in a popup with : Fatal Error!: pyi_rth_pkgres returned -1.

After finding this thread, I figured that the issue was that I was trying to build SWAPY with Python 3 so, I tried to build SWAPY with Python 2 instead, and that resulted in exactly the same error.

Questions:

  • Are there build/installation instructions for SWAPY for Windows?
  • Is the error above known? It appears to be arising from a module in PyInstaller. Is there a known fix?

PS. I am aware that SWAPY binaries are available for download on SourceForge, but those seem to be almost a year old.

@moden-py
Copy link
Contributor Author

Hi @tchakravarty, thank you for your report.
We run auto building on CI - AppVeyor under Windows Server 2012 (Windows 8)
I did not see the problem before.
You may look through the CI scripts:

  • /appveyor.yml
  • ci/build.ps1
    but this steps are equivalent to the steps from build.bat.

Please note, you are able to download 'compiled' binaries from the releases page or run SWAPY without compilation like a Python script.

@tchakravarty
Copy link
tchakravarty commented Apr 18, 2016

@moden-py Thanks for the extremely prompt response. I had not looked in the releases tab for the latest version of the compiled binaries. However, now I am running into some other issues, but for that, I will make a separate issue thread.

As an FYI, I am still unable to build the binary myself, for the purposes of this thread.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants