[GRASS-user] Problems with Numpy and matplotlib after updatingthrough OSGeo4W

Bartolomei.Chris Bartolomei.Chris at ensco.com
Tue Jun 7 17:30:08 PDT 2016


If you use msys, then make sure the GRASS_SH variable is set in your OSGeo4W64/apps/grass/grass-7.0.4/etc/env.bat file (and the GRASS_PYTHON and PYTHONHOME variables. Here's what I have:
set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python.exe
set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27


Chris Bartolomei P.E.
Engineer/Scientist
bartolomei.chris at ensco.com
________________________________________
From: Veronica Andreo [veroandreo at gmail.com]
Sent: Tuesday, June 07, 2016 3:12 PM
To: Bartolomei.Chris
Cc: grass-user
Subject: Re: [GRASS-user] Problems with Numpy and matplotlib after updatingthrough OSGeo4W

Hello Chris,

Thanks much for the answer and follow up :)

MSYS was already installed in this case and also automatically marked for "keeping". So, that did not work for me :(

>From my very limited knowledge, I had understood that msys only provided bash shell for GRASS in Windows. I don't understand how can that be related to Numpy or matplotlib, but as I said before, I have very limited knoledge/understanding in that respect.

Anyway, let's see if somebody else has the same issue or knows how to solve it... or maybe, it gets automagically fixed in the next update ;)

Best,
Vero



2016-06-07 16:45 GMT-03:00 Bartolomei.Chris <Bartolomei.Chris at ensco.com<mailto:Bartolomei.Chris at ensco.com>>:
I just heard back from my intern and yes, installing msys did solve his numpy issue ... not sure if that'll help your issue but it worked for him.

Chris Bartolomei P.E.
Engineer/Scientist
ENSCO, Inc.
bartolomei.chris at ensco.com<mailto:bartolomei.chris at ensco.com>
________________________________________
From: grass-user [grass-user-bounces at lists.osgeo.org<mailto:grass-user-bounces at lists.osgeo.org>] On Behalf Of Veronica Andreo [veroandreo at gmail.com<mailto:veroandreo at gmail.com>]
Sent: Monday, June 06, 2016 6:44 PM
To: grass-user
Subject: [GRASS-user] Problems with Numpy and matplotlib after updatingthrough OSGeo4W

Hi list,

I just updated grass stable and trunk at my mum and brother's PCs (windows 7 - 32 bits and windows 10 - 64 bits, respectively) by means of OSGeo4W installer.

When starting both versions (7.0.4 and 7.3) in both computers, I get a message saying Numeric, numarray or NumPy not found.

Then, when I tried to use g.gui.timeline or g.gui.tplot, I got an error saying matplotlib and its dependent pyparsing must be installed.

I run the update again and specifically checked for numpy, matplotlib and pyparsing under libs, and all of them were there already selected for update or keep, so dunno...

Has anybody had a similar issue? Do I have to manually select or install some other lib/dependency??

All was fine before the update, in 7.0.3 and 7.1 no such issues in any of the computers.

Looking forward to any suggestion :)

Best,
Vero


The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.

The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.



More information about the grass-user mailing list