[Phoenix] Installation and status

Hello,

I'm currently using wxPython with Python 2.7 and would like to make the
transition to Python 3.4.x on windows 7 64 bit.

I did try to install the Phoenix port with pip from
http://wxpython.org/Phoenix/snapshot-builds/ with

the following commandos

pip install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/
wxPython_Phoenix

pip install --allow-external --allow-unverified py -f
http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix

pip install --allow-external wxPython_Phoenix wxPython_Phoenix

However, it does not work. Can anyone give me the ultimate correct call
for installation of wxPython Phoenix into a clean windows Python 3.4.x
setup?

Additionally, I would like to ask about the status of the transition of
wxPython to Phoenix. What is working and what is still pending?

With best regards,

Johannes

Hi Johannes,

Hello,

I'm currently using wxPython with Python 2.7 and would like to make the
transition to Python 3.4.x on windows 7 64 bit.

I did try to install the Phoenix port with pip from
Index of /Phoenix/snapshot-builds with

the following commandos

pip install -U --pre -f Index of /Phoenix/snapshot-builds
wxPython_Phoenix

pip install --allow-external --allow-unverified py -f
Index of /Phoenix/snapshot-builds wxPython_Phoenix

pip install --allow-external wxPython_Phoenix wxPython_Phoenix

However, it does not work.

Not very useful, no? Did you get any error messages?

  Can anyone give me the ultimate correct call
for installation of wxPython Phoenix into a clean windows Python 3.4.x
setup?

Not the "ultimate correct call" but it works for me:-) :
pip install -U --pre -f Index of /Phoenix/snapshot-builds wxPython_Phoenix

Note the space after the last "/" and wxPython_Phoenix

Doing this regularly on Python 3.4 (originally this was a clean install) and Python 2.7 both 32bit version but running on Windows 8.1 64 bit and I also used on Linux Mint with Python 3.4.

  
Additionally, I would like to ask about the status of the transition of
wxPython to Phoenix. What is working and what is still pending?

Very much work in progress, especially in the wx.lib space, see PR's here: Pull requests · RobinD42/Phoenix · GitHub

- 'wx.aui' is not ported and not sure it will be ported, but there is 'wx.lib.agw.aui' as a drop in replacement

Basically if it shows in the doc Redirecting... then it is ported and should work with the exception of 'wx.lib' stuff, you need to check the PR's mentioned above and they have a "Tags:" entry at the beginning of the module to show it's status - ProjectPhoenix/LibraryMigration - wxPyWiki

Werner

···

On 9/29/2014 18:02, Johannes Brunen wrote:

Hi Werner,

···

On 29.09.2014 18:31, Werner wrote:

Can anyone give me the ultimate correct call
for installation of wxPython Phoenix into a clean windows Python 3.4.x
setup?

Not the "ultimate correct call" but it works for me:-) :
pip install -U --pre -f Index of /Phoenix/snapshot-builds
wxPython_Phoenix

As it did for me :slight_smile:

Thanks,
Johannes

Hi,

I tried this on unsuccessfully on Windows 7 32-bit using Anaconda Python 3.4. (I also tried it with Python.org 3.4 with the same outcome).

c:>python -m pip install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix
Downloading/unpacking wxPython-Phoenix
http://wxpython.org/Phoenix/snapshot-builds/ uses an insecure transport scheme
(http). Consider using https if wxpython.org has it available
Running setup.py (path:C:\Users\mark\AppData\Local\Temp\pip_build_mark\wxPython-Phoenix\setup.py) egg_info for package wxPython-Phoenix
Traceback (most recent call last):
File “”, line 17, in
File “C:\Users\mark\AppData\Local\Temp\pip_build_mark\wxPython-Phoenix\setup.py”, line 27, in
os.rename(os.path.join(SRC, item), item)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: ‘Phoenix\setup.py’ -> ‘setup.py’
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File “”, line 17, in

File “C:\Users\mark\AppData\Local\Temp\pip_build_mark\wxPython-Phoenix\setup.py”, line 27, in

os.rename(os.path.join(SRC, item), item)

FileExistsError: [WinError 183] Cannot create a file when that file already exists: ‘Phoenix\setup.py’ -> ‘setup.py’

···

Cleaning up…
Command python setup.py egg_info failed with error code 1 in C:\Users\mark\AppData\Local\Temp\pip_build_mark\wxPython-Phoenix
Storing debug log for failure in C:\Users\mark\pip\pip.log

Although the original post is now a few months old, there has been some recent responses to this topic elsewhere.
In Google Group: Python-dev, topic: pip 6.0 and virtualenv 12.0 Mark Lawrence added some info.

Additionally the way I got around the issue Mark Summerfield posted was to download the latest wheel file locally on my computer into a folder of my own choosing from URL:

http://wxpython.org/Phoenix/snapshot-builds/

Then I ran the following at the DOS prompt:

D:\dev…>pip install -U wxPython_Phoenix-3.0.3.dev78327-cp34-none-win32.whl

Note that the wheel file shown in the line above is for Windows 32-bit and updates to a specific dev version. So choose your file according to your own platformat from the URL shown above. Make sure you are in the same folder where that wheel file is. It will not install Phoenix in the folder you are in but in …\lib\site-packages\wx…

Maybe for how the pip option operates update pip. For MS-Windows I use:

python.exe -m pip install --upgrade

There is a vague note about this syntax at URL:
http://stackoverflow.com/questions/15221473/how-do-i-update-pip-itself-from-inside-my-virtual-environment