Discussion:
Phoenix - pip install
Werner
2014-04-14 11:03:42 UTC
Permalink
Hi,

I wanted to try 'pip' to install Phoenix with Python 3.3 - 32 bit on
Windows .

Shouldn't following command find
"http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.1.dev76326-py3.3-win32.egg"
and install it?

C:\Python33\Scripts>pip install -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
Could not find a version that satisfies the requirement
wxpython-phoenix (from
versions: 3.0.1.dev76264-docs, 3.0.1.dev76264, 3.0.1.dev76271-docs,
3.0.1.dev76
271, 3.0.1.dev76283-docs, 3.0.1.dev76283, 3.0.1.dev76301-docs,
3.0.1.dev76301, 3
.0.1.dev76307-docs, 3.0.1.dev76326-docs, 3.0.1.dev76326,
3.0.1.dev76344-docs, 3.
0.1.dev76344)

Will try again tomorrow, hopefully then the Py2.7 and Py3.3 32bit
builders will build wheels.

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robin Dunn
2014-04-14 20:57:33 UTC
Permalink
Post by Werner
Hi,
I wanted to try 'pip' to install Phoenix with Python 3.3 - 32 bit on
Windows .
Shouldn't following command find
"http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.1.dev76326-py3.3-win32.egg"
and install it?
C:\Python33\Scripts>pip install -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
Could not find a version that satisfies the requirement wxpython-phoenix
(from
versions: 3.0.1.dev76264-docs, 3.0.1.dev76264, 3.0.1.dev76271-docs,
3.0.1.dev76
271, 3.0.1.dev76283-docs, 3.0.1.dev76283, 3.0.1.dev76301-docs,
3.0.1.dev76301, 3
.0.1.dev76307-docs, 3.0.1.dev76326-docs, 3.0.1.dev76326,
3.0.1.dev76344-docs, 3.
0.1.dev76344)
Will try again tomorrow, hopefully then the Py2.7 and Py3.3 32bit
builders will build wheels.
I'm not sure if pip does the same for eggs[1], but for wheels it uses
the ".devNNNN" in the version number to know that it is a pre-release
build, and to have pip install prerelease builds you need to use the
--pre flag.
Post by Werner
pip install --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
Downloading
wxPython_Phoenix-3.0.1.dev76344-cp27-none-macosx_10_6_intel.whl
(29.5MB): 29.5MB downloaded
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix
Cleaning up...



[1] At least in older versions of pip it would not install binary eggs
at all, but would instead down load the source and try to build it. My
guess is that it is still doing that. You should be able use
easy_install with a -f URL to install binary eggs though.
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mike Driscoll
2014-04-14 21:28:32 UTC
Permalink
Robin / Werner,

[1] At least in older versions of pip it would not install binary eggs
Post by Robin Dunn
at all, but would instead down load the source and try to build it. My
guess is that it is still doing that. You should be able use
easy_install with a -f URL to install binary eggs though.
--
Robin Dunn
Software Craftsman
http://wxPython.org
I believe Robin is correct. pip dropped egg support:
https://github.com/pypa/pip/issues/492

I was researching this a week or two ago for one of the chapters of my book
and found out about it then. Kind of annoying, really. Yes, eggs are an
older technology, but there are still a LOT of packages on PyPI that are
distributed using them.

- Mike
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Hipp
2014-04-15 02:06:30 UTC
Permalink
Post by Mike Driscoll
Robin / Werner,
[1] At least in older versions of pip it would not install binary eggs
at all, but would instead down load the source and try to build it. My
guess is that it is still doing that. You should be able use
easy_install with a -f URL to install binary eggs though.
https://github.com/pypa/pip/issues/492
I was researching this a week or two ago for one of the chapters of my
book and found out about it then. Kind of annoying, really. Yes, eggs
are an older technology, but there are still a LOT of packages on PyPI
that are distributed using them.
I just do this:
easy_install -f http://wxpython.org/Phoenix/snapshot-builds/
wxpython_phoenix

But I hope phoenix can come available via wheels soon, as pip is much
friendlier than easy_install.

Michael
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robin Dunn
2014-04-15 03:31:05 UTC
Permalink
Post by Michael Hipp
But I hope phoenix can come available via wheels soon, as pip is much
friendlier than easy_install.
They are the bots have been reconfigured and the wheels should all be
there with tonight's builds.
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robin Dunn
2014-04-15 03:52:07 UTC
Permalink
Post by Robin Dunn
Post by Michael Hipp
But I hope phoenix can come available via wheels soon, as pip is much
friendlier than easy_install.
They are the bots have been reconfigured and the wheels should all be
there with tonight's builds.
PEBKAC error. That was supposed to say "All the bots..." :-/
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mark Lawrence
2014-04-16 00:24:29 UTC
Permalink
Post by Robin Dunn
Post by Robin Dunn
Post by Michael Hipp
But I hope phoenix can come available via wheels soon, as pip is much
friendlier than easy_install.
They are the bots have been reconfigured and the wheels should all be
there with tonight's builds.
PEBKAC error. That was supposed to say "All the bots..." :-/
Who cares, all I know is I've successfully grabbed my first wheel for
Python 3.4 on Windows, thanks for your efforts :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Werner
2014-04-15 07:16:02 UTC
Permalink
Hi,

On 4/14/2014 22:57, Robin Dunn wrote:

...
Post by Werner
Post by Werner
pip install --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
Downloading
wxPython_Phoenix-3.0.1.dev76344-cp27-none-macosx_10_6_intel.whl
(29.5MB): 29.5MB downloaded
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix
Cleaning up...
The "--pre" did it as there is a corresponding wheel for Py3.3 as of
today, great!

How should one deal with multiple versions of wx now, I guess the answer
is virtualenv, correct?

Maybe a wiki page is in order for the use of pip and wx? Should it be
added to "http://wiki.wxpython.org/How%20to%20install%20wxPython" or
should it be done on a new page?

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Michael Hipp
2014-04-15 11:45:29 UTC
Permalink
Post by Werner
Hi,
...
Post by Werner
Post by Werner
pip install --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
Downloading
wxPython_Phoenix-3.0.1.dev76344-cp27-none-macosx_10_6_intel.whl
(29.5MB): 29.5MB downloaded
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix
Cleaning up...
The "--pre" did it as there is a corresponding wheel for Py3.3 as of
today, great!
How should one deal with multiple versions of wx now, I guess the answer
is virtualenv, correct?
Yes, wxPy works great with virt envs now. Yippie!

Michael
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Werner
2014-04-15 11:59:16 UTC
Permalink
Hi,
...
Post by Michael Hipp
Post by Werner
How should one deal with multiple versions of wx now, I guess the answer
is virtualenv, correct?
Yes, wxPy works great with virt envs now. Yippie!
Can anyone recommend some good tutorial on virtualenvs?

One needs more then wx in a project, so a new wx means all the other
stuff (SQLAlchemy, numpy, matplotlib .....) needs to go into the new
virtualenv - how does one manage this? Especially with .eggs, .wheels
and maybe even installers on Windows?

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mike Driscoll
2014-04-15 14:08:30 UTC
Permalink
Hi Werner,
Post by Werner
Hi,
...
Post by Michael Hipp
Post by Werner
How should one deal with multiple versions of wx now, I guess the
answer
Post by Michael Hipp
Post by Werner
is virtualenv, correct?
Yes, wxPy works great with virt envs now. Yippie!
Can anyone recommend some good tutorial on virtualenvs?
One needs more then wx in a project, so a new wx means all the other
stuff (SQLAlchemy, numpy, matplotlib .....) needs to go into the new
virtualenv - how does one manage this? Especially with .eggs, .wheels
and maybe even installers on Windows?
Werner
If you're using pip and you want to install a set of packages, requirements
files are the way to go:
http://www.pip-installer.org/en/1.1/requirements.html

- Mike
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Werner
2014-04-15 14:32:20 UTC
Permalink
Hi Mike,
Post by Mike Driscoll
Hi Werner,
Hi,
...
Post by Michael Hipp
Post by Werner
How should one deal with multiple versions of wx now, I guess
the answer
Post by Michael Hipp
Post by Werner
is virtualenv, correct?
Yes, wxPy works great with virt envs now. Yippie!
Can anyone recommend some good tutorial on virtualenvs?
One needs more then wx in a project, so a new wx means all the other
stuff (SQLAlchemy, numpy, matplotlib .....) needs to go into the new
virtualenv - how does one manage this? Especially with .eggs, .wheels
and maybe even installers on Windows?
Werner
If you're using pip and you want to install a set of packages,
http://www.pip-installer.org/en/1.1/requirements.html
I guess I will just mix 'traditional' installs with pip, i.e. install
things which only have .exe installers (at the moment) into the global
site-packages and use pip for things like SQLAlchemy, and wxPython to
install to the virtualenvs.

Will play with this on Python 3.4.

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robin Dunn
2014-04-16 06:12:16 UTC
Permalink
Post by Werner
Post by Mike Driscoll
If you're using pip and you want to install a set of packages,
http://www.pip-installer.org/en/1.1/requirements.html
I guess I will just mix 'traditional' installs with pip, i.e. install
things which only have .exe installers (at the moment) into the global
site-packages and use pip for things like SQLAlchemy, and wxPython to
install to the virtualenvs.
If the .exe installers were made with distutils/setuptools then they can
be installed in a virtualenv using easy_install, just make sure you use
the easy_install that is in the virtualenv. It sometimes seems a little
dirty to be mixing pip and easy_install, but it works fine. If there is
anything you need that is only available as an egg then you can use
easy_install for it too.
Post by Werner
Will play with this on Python 3.4.
BTW, Python 3.4 now has an official built-in version of virtualenv
accessible with the pyvenv command. Very nice.

Also, if you end up with a lot of Pythons and Venvs installed you may
want to take a look at this: https://github.com/RobinD42/python-wrangler
(On Windows it only works with cygwin, and perhaps other bash
environments. Sorry everybody else.)
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mark Lawrence
2014-04-18 16:29:20 UTC
Permalink
Post by Robin Dunn
Post by Werner
Hi,
I wanted to try 'pip' to install Phoenix with Python 3.3 - 32 bit on
Windows .
Shouldn't following command find
"http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.1.dev76326-py3.3-win32.egg"
and install it?
C:\Python33\Scripts>pip install -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
Could not find a version that satisfies the requirement wxpython-phoenix
(from
versions: 3.0.1.dev76264-docs, 3.0.1.dev76264, 3.0.1.dev76271-docs,
3.0.1.dev76
271, 3.0.1.dev76283-docs, 3.0.1.dev76283, 3.0.1.dev76301-docs,
3.0.1.dev76301, 3
.0.1.dev76307-docs, 3.0.1.dev76326-docs, 3.0.1.dev76326,
3.0.1.dev76344-docs, 3.
0.1.dev76344)
Will try again tomorrow, hopefully then the Py2.7 and Py3.3 32bit
builders will build wheels.
I'm not sure if pip does the same for eggs[1], but for wheels it uses
the ".devNNNN" in the version number to know that it is a pre-release
build, and to have pip install prerelease builds you need to use the
--pre flag.
Post by Werner
pip install --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
Downloading
wxPython_Phoenix-3.0.1.dev76344-cp27-none-macosx_10_6_intel.whl
(29.5MB): 29.5MB downloaded
Installing collected packages: wxPython-Phoenix
Successfully installed wxPython-Phoenix
Cleaning up...
For the benefit of those not used to pip, you need the -U option to
force an upgrade. It should be :-

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

Wrongly order the options as I stupidly did and you end up with :-

pip install --pre -f -U http://wxPython.org/Phoenix/snapshot-builds/
wxPython_Phoenix
Downloading/unpacking http://wxPython.org/Phoenix/snapshot-builds/
Cannot unpack file
C:\Users\Mark\AppData\Local\Temp\pip-474idjxv-unpack\snapshot-builds
(downloaded from C:\Users\Mark\AppData\Local\Temp\pip-404ydr4s-build,
content-type: text/html;charset=UTF-8); cannot detect archive format
Cleaning up...
Cannot determine archive format of
C:\Users\Mark\AppData\Local\Temp\pip-404ydr4s-build
Storing debug log for failure in C:\Users\Mark\pip\pip.log
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...