Discussion:
[Community] upgrade from 1.2.14
Harasty, Daniel J
2014-04-09 20:16:33 UTC
Permalink
I see the warning to Windows users of Shapely:

Warning: Windows users: do not under any circumstances use pip (or easy_install) to uninstall Shapely versions < 1.2.17. Due to the way Shapely used to install its GEOS DLL and a distribute or setuptools bug, your Python installation may be broken by an uninstall command. Shapely 1.2.17 will uninstall safely.

I'd like to update to Shapely 1.3. I'm currently using Shapely 1.2.14 (on Windows 7 with Python 2.6 32-bit).

Do I simply use:

pip install shapely --upgrade

to safely avoid the problem mentioned in the Warning?

If not: what is my migration path to Shapely 1.3?

I looked for this info in the Shapely docs but didn't see it; apologies if I overlooked it.

Dan Harasty



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20140409/7bca85fb/attachment.htm>
James Mills
2014-04-09 20:25:04 UTC
Permalink
As long as you have a C compiler
and the Cython Python Pacage installed
you should be able to use:

pip install -U shapely

cheers
James


James Mills / prologic

E: prologic at shortcircuit.net.au
W: prologic.shortcircuit.net.au


On Thu, Apr 10, 2014 at 6:16 AM, Harasty, Daniel J
Post by Harasty, Daniel J
Warning: Windows users: do not under any circumstances use pip (or
easy_install) to uninstall Shapely versions < 1.2.17. Due to the way
Shapely used to install its GEOS DLL and a distribute or setuptools bug,
your Python installation may be broken by an uninstall command. Shapely
1.2.17 will uninstall safely.
I?d like to *update* to Shapely 1.3. I?m currently using Shapely 1.2.14
(on Windows 7 with Python 2.6 32-bit).
pip install shapely --upgrade
to safely avoid the problem mentioned in the Warning?
If not: what is my migration path to Shapely 1.3?
I looked for this info in the Shapely docs but didn?t see it; apologies if
I overlooked it.
Dan Harasty
_______________________________________________
Community mailing list
Community at lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20140410/b760e230/attachment.htm>
Sean Gillies
2014-04-09 20:33:26 UTC
Permalink
Just don't run the uninstall command and you'll be fine. Btw, I'm not sure
you can pip install shapely on Windows, I think you'll have to manually
download and run an installer .exe.
Post by Harasty, Daniel J
Warning: Windows users: do not under any circumstances use pip (or
easy_install) to uninstall Shapely versions < 1.2.17. Due to the way
Shapely used to install its GEOS DLL and a distribute or setuptools bug,
your Python installation may be broken by an uninstall command. Shapely
1.2.17 will uninstall safely.
I'd like to *update* to Shapely 1.3. I'm currently using Shapely 1.2.14
(on Windows 7 with Python 2.6 32-bit).
pip install shapely --upgrade
to safely avoid the problem mentioned in the Warning?
If not: what is my migration path to Shapely 1.3?
I looked for this info in the Shapely docs but didn't see it; apologies if I overlooked it.
Dan Harasty
_______________________________________________
Community mailing list
Community at lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
--
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20140409/eae0000e/attachment.htm>
James Mills
2014-04-09 21:07:52 UTC
Permalink
It should work as long as you have a working compiler environment to build
C extensions et all. It is easier to use a. Preprepared binary though!
Post by Sean Gillies
Just don't run the uninstall command and you'll be fine. Btw, I'm not sure
you can pip install shapely on Windows, I think you'll have to manually
download and run an installer .exe.
Post by Harasty, Daniel J
Warning: Windows users: do not under any circumstances use pip (or
easy_install) to uninstall Shapely versions < 1.2.17. Due to the way
Shapely used to install its GEOS DLL and a distribute or setuptools bug,
your Python installation may be broken by an uninstall command. Shapely
1.2.17 will uninstall safely.
I?d like to *update* to Shapely 1.3. I?m currently using Shapely 1.2.14
(on Windows 7 with Python 2.6 32-bit).
pip install shapely --upgrade
to safely avoid the problem mentioned in the Warning?
If not: what is my migration path to Shapely 1.3?
I looked for this info in the Shapely docs but didn?t see it; apologies
if I overlooked it.
Dan Harasty
_______________________________________________
Community mailing list
Community at lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
--
Sean Gillies
_______________________________________________
Community mailing list
Community at lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20140410/3c39f8bf/attachment-0001.htm>
Loading...