testing on Mac OS X

I was going to try to do a very brief and un-thorough test of my wxPython apps on a Mac OS X that I have scanty and rather public have access to, but I don’t have administrator privileges to install anything. It appears I can download stuff to the computer, but when I tried to install, it brought up the dialog for asking for the admin name and password, and I don’t have it.

I may be able to request administrator access for installing, but I’d rather avoid it if it is unnecessary, and thought to ask: Do I have to install? Could I just download appropriate folders and put them somewhere, like under Python27/Lib/site-packages and run wx that way? Python 2.7 is already installed on that computer (from Apple). I know next to nothing about Macs these days, if that is helpful to know.

And do you think that this is generally true for most packages, like Matplotlib and others? If so, maybe I could test it out (just a proof of whether my software runs at all on a Mac) without going through the rigmarole of getting the administrator involved.

Thanks,

Che

Che,
While it is possible to temporarily add packages by building them
locally then adding them to the PYTHONPATH environment variable but
I would strongly suggest asking the admin to install you can then set up test environments as you desire. As far as I
know you do not need admin credentials to work with VirtualEnv
including installing packages into the temporary environment and of
course you can be sure that you are not messing anything up for
other users.
Gadget/Steve

···

On 09/05/14 21:03, C M wrote:

          I was going to try to do a very brief and un-thorough

test of my wxPython apps on a Mac OS X that I have scanty
and rather public have access to, but I don’t have
administrator privileges to install anything. It appears
I can download stuff to the computer, but when I tried to
install, it brought up the dialog for asking for the admin
name and password, and I don’t have it.

        I may be able to request administrator access for

installing, but I’d rather avoid it if it is unnecessary,
and thought to ask: Do I have to install? Could I just
download appropriate folders and put them somewhere, like
under Python27/Lib/site-packages and run wx that way?
Python 2.7 is already installed on that computer (from
Apple). I know next to nothing about Macs these days, if
that is helpful to know.

      And do you think that this is generally true for most

packages, like Matplotlib and others? If so, maybe I could
test it out (just a proof of whether my software runs at all
on a Mac) without going through the rigmarole of getting the
administrator involved.

      Thanks,

Che

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-users+unsubscribe@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

VirtualEnv

While it is possible to temporarily add packages by building them locally

then adding them to the PYTHONPATH environment variable but I would
strongly suggest asking the admin to install VirtualEnv<http://docs.python-guide.org/en/latest/starting/install/osx/&gt;you can then set up test environments as you desire. As far as I know you
do not need admin credentials to work with VirtualEnv including installing
packages into the temporary environment and of course you can be sure that
you are not messing anything up for other users.

Gadget/Steve, I have not built any packages before, and this seems like
actually more work than just getting the admin to let me install, so I'd
probably do that for now. The point about VirtualEnv is a good idea.
Thanks.

Good way to go -- but the binary installer packages don't work with
virtualenv anyway. Things are slowly moving toward binary wheels, which
will be better, but it's a bit tricky at the moment.

-Chris

···

On Sat, May 10, 2014 at 2:23 AM, Steve Barnes <gadgetsteve@live.co.uk>wrote:

While it is possible to temporarily add packages by building them
locally then adding them to the PYTHONPATH environment variable but I would
strongly suggest asking the admin to install VirtualEnv<http://docs.python-guide.org/en/latest/starting/install/osx/&gt;you can then set up test environments as you desire.

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov