161 reputation
17
bio website barrington-leigh.net
location Montreal, Canada
age
visits member for 2 years, 5 months
seen Dec 14 at 19:00

2d
awarded  Popular Question
Sep
24
awarded  Popular Question
Aug
18
awarded  Caucus
Aug
18
awarded  Constituent
Oct
28
comment Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
No, I'd tried that. I edited my original post to add at the end the output I get.
Oct
28
revised Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
added another try and resulting error
Oct
27
comment Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
Thanks for the edits. I do not know what to put in that setup line; sorry! My best guess is this: "python setup.py build_ext --gdal-config=/usr/bin/gdal-config --include-dirs=/usr/include/ --library-dirs=/usr/lib64/" but that doesn't work. I've tried using "locate" to find out where things might be, but I'm asking for help with the RHEL6 case, since I do not know how to find out. My first error with this revision is "extensions/gdal_wrap.cpp:2853:22: error: cpl_port.h: No such file or directory ". "locate" says that it exists here: /usr/include/gdal/cpl_port.h
Oct
22
comment Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
Thanks. That does not seem clear to me. This is very much tailored to Mac/OSX. I'm on RHEL GNU. He says "Note that I assume you have Williams frameworks and xcode / compilation toolchain in place." and he includes things that are not on my system. "locate GDAL.framework" gives me nothing. Williams' site is for OSX.
Oct
22
revised Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
just corrected the formatting (code rather than quote) of the first failure output
Oct
22
awarded  Editor
Oct
22
comment Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
Thanks. I edited my question to mention that gdal-devel is there. I tried "pip install osgeo" but get: Downloading/unpacking osgeo Could not find any downloads that satisfy the requirement osgeo No distributions at all found for osgeo
Oct
22
revised Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
Added clarification about installation of dependencies gdal-devel
Oct
21
asked Installing python GDAL with pip in local (user) space on RHEL6 server: failure due to missing headers
Aug
16
awarded  Popular Question
Apr
26
comment Using arcpy from the command line on ArcGIS Linux Server 10.1
When you say you don't need sudo, is that because you're running under the arc user? We are running on a server, and multiple users want to use arcpy. So if we want to operate under our individual accounts, we need to su arcpy, which requires sudo.
Aug
17
awarded  Teacher
Aug
16
answered Using arcpy from the command line on ArcGIS Linux Server 10.1
Aug
15
comment Using arcpy from the command line on ArcGIS Linux Server 10.1
In the interest of documenting... sudo su arcgis, cd /opt/arcgis/server/tools/ (where my arcgis server 10.1 install is), then ./python works to run python in such a way that import arcpy doesn't fail.
Aug
14
comment Using arcpy from the command line on ArcGIS Linux Server 10.1
Oh, and as for the user, no I had to "sudo su arcgis" (which is a pain -- users need sudo access to use arcpy...) and I found that I needed the files to be owned by arcgis, too! So I created a new folder in /home which is owned by arcgis but is universally readable/writeable.
Aug
14
comment Using arcpy from the command line on ArcGIS Linux Server 10.1
Thanks! Wow; it's finicky. Python/arcpy doesn't work if I've connected with ssh -X (rather than ssh). It doesn't work if I use a symbolic link to the python executable. Anyway, yes, the backslash was it; thank you. Now I get: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\management.py", line 2343, in FeatureToLine raise e arcgisscripting.ExecuteError: ERROR 999999: Error executing function. Invalid Topology [Feature not found on delete.] Failed to execute (FeatureToLine). though this worked with Desktop arcpy