enthought gdal/ogr not built with GEOS? - enthought

I'm using the academic version of enthought python for Windows. Most of ogr works, but not geometry methods like geometry.Buffer() or predicates like geometry1.crosses(geometry2). According to this:
http://gdal.org/python/osgeo.ogr.Geometry-class.html#Crosses
ogr needs to have been built with GEOS. Has anybody got these methods to work with Enthought? If not, can you suggest a Windows python binary where these are working?
thanks,
jim

Correct, there are many possible build configurations of GDAL/OGR, and geos is not currently supported by Enthought's build configuration. We will consider adding it in a future build. Meanwhile, FYI, GEOS operations are fully supported in the powerful and popular Shapely package which is included in the Enthought repository.

Related

no module found : tensorflow.contrib

trying to run openpose on windows.
tensorflow = 1.14 installed already.
getting the error no module found : tensorflow.contrib
is there any way to work out on this on windows?
or any other library to work for pose detection?
Please suggest a alternate way to do pose estimation if there is no solution to this problem for windows.
Thanks.
You got above error because tensorflow.contrib has been removed from the packages.
Since all the projects in tf.contrib were not officially supported by Tensorflow and it had designated owners for maintaining it.
From Tensorflow 2.x version all the contrib projects has three options: move to core, move to a separate repository or delete most of of them have been reviewed with the respective project owners.
If the library you are using is moved to the core or separate repository, then tensorflow automatic code migration from 1.x to 2.x will not work for tf.contrib` projects. You have to change code manually for above parts, which is suggested going forward.
You can refer this article for Pose Estimation using TensorFlow 2.0.

Postgresql Debugger on Windows

I've seen the docs to install the debugger on linux machines. But no docs on how to install the debugger on a windows machine. Does anyone know how to do this? Looks like you have to compile the pldebugger somehow.
Thanks
Yes, you'd have to build the pldebugger extension.
Unfortunately, building PostgreSQL extensions on Windows is non-trivial: apart from the requirement of a C compiler, you have to come up with the correct compiler invocation, since the PostgreSQL extension building infrastructure does not work on Windows.
The PostgreSQL community is aware of that deficiency, but it is not easy to come up with solutions for a platform that is so different from all others.

Eclipse, GCC, installing them twice?

I am thinking of installing Eclipse for developing STM32 programs (I have a question about this that I will post later). In the instructions it says I have to install:
the IDE for C/C++
GNU ARM Eclipse Plug-ins
GNU GCC ARM tool-chain
among other tools..
However, I am also thinking of installing e2studio for developing Renesas programs. You can see about this Here. There you can see that this is "based on Eclipse CDT" (what is the difference between this CDT and the IDE?) and that it also uses Plug-ins like GNU Tool & Support Here.
My question is, is this possible? Do I have to install them separately? (I guess so). Will the GNU tools will also be installed twice??
(I am using a windows10 machine)
Thanks in advance
CDT is dedicated to C/C++ programming. Actually I personally prefere to have separate eclipse installations for different families of uC. Why? Because it is much easier to manage updates and to keep my work in the correct order.
For STM32 I advice (I think, you are a novice user of Eclipse & ARM toolchains) to install OpenSTM32 (yo have a straightforward installer). It imports projects from CUBEFX & MX which gives you an easy way to import examples & initialisation code from Cube. I personally do not use HAL libraries but as I know I am a minority.
However, I am also thinking of installing e2studio for developing
Renesas programs. You can see about this Here. There you can see that
this is "based on Eclipse CDT" (what is the difference between this
CDT and the IDE?)
Eclipse CDT is an open-source general-purpose C and C++ IDE.
e2studio is one of several software packages that extend CDT with (most likely proprietary) plugins geared towards a more specific market (in this case, Renesas programs).
My question is, is this possible?
Yes.
Do I have to install them separately? (I guess so).
Yes.
Will the GNU tools will also be installed twice?? (I am using a windows10 machine)
You can certainly share a single installation of a toolchain between two installations of CDT, if both of them need the same toolchain (in terms of version and architecture). I don't know enough about STM32 and Renesas to tell you if they use the same toolchain.

Any attempts at MongoDB on AIX

I have a project for which it would be desirable to run MongoDB on AIX 6.1 on a Power 6 box. AIX is not a supported platform for MongoDB and I will have a bash at building it from source. Has anyone tried this already?
I plan to use GNU G++ 4.2 PPC and I have the latest SCons running on Python 2.6, so the build tools run.
My initial impression is that there are a lot of platform dependencies in the .h files that I have encountered. It does not look like a no-brainer by any stretch to get AIX/Power running. Any words of wisdom whether it is or is not likely to be successful?
You will have to port several things as there is some very specific x86/x86_64 assembly as part of the MongoDB sources: https://github.com/mongodb/mongo/blob/master/src/mongo/platform/atomic_intrinsics_gcc.h Just like with ARM, this is not going to be a trivial task.
See some references:
https://jira.mongodb.org/browse/SERVER-1811
https://github.com/wtfuzz/mongo-arm

Ruby Version Display

when I typed in $ ruby -v the output appeared as below:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
In the past, I used to see the output as:
ruby 1.9.3
Why is my ruby version appearing with more data now? I am new to programming and am wondering if I messed up my computer. Help! Thank you in advance!
Are you using RVM to manage your ruby versions? If not I would reccomend doing so.
https://rvm.io/
Chances are, you upgraded your Ruby installation somewhere along the line (or your system package manager did). It's very unlikely that you messed anything up.
It sounds like you are not using RVM, and that the system package manager installed an update. I would strongly recommend using RVM, it will save you tons of head ache in the future.
https://rvm.io/rvm/install/
If you are not familiar with it, it is a great version manager created by Wayne Seguin. It allows you use specific versions of ruby and specific gems for different projects.