0

I installed Odoo 9 All in One on a Windows 2012 Server. Installed python 2.7, postgis, geojson, and shapely.

When I try to install the geoengine camp2camp module I get an error Unable to install base_geoengine because external dependency is not met. No module named shapely

Error

Can anyone please give me some guidance?

I was able to get this module installed in Ubuntu but would really like it on a Windows server for some testing.

TylerH
  • 20,799
  • 66
  • 75
  • 101
freedomk
  • 1
  • 2
  • You should install those libraries using the pip installer in your Odoo install directory when you're using windows. – JordyRitzen Apr 22 '16 at 12:09

3 Answers3

0

You simply don't have shapely installed open the command prompt and do

pip install shapely

if that doesn't work for you visit this link

http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely

and download shapely based on your PYTHON VERSION (32 or 64 bit) not your OS type

after installing restart odoo

danidee
  • 9,298
  • 2
  • 35
  • 55
  • That is the problem I am having. I did install Shapely already pip install ==shapely1.5.9 When I try to install the base_geoengine module for openerp I get the error about external dependencies I used the whl package form this site http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely Its like the module doesnt detect that it is installed. I am running Windows Server 2012 with Openerp all in one install V9 – freedomk Apr 22 '16 at 12:42
  • run pip freeze and check if it's listed – danidee Apr 22 '16 at 12:45
  • if its not listed then it's not installed....make sure you download the one according to your version of python – danidee Apr 22 '16 at 13:15
  • pip freeze geojson==1.3.2 Shapely==1.5.15 I must be missing something! I have very little experience in python I just want to get this installed module working! – freedomk Apr 22 '16 at 15:28
  • do you have multiple python2 versions or do you use a virtualenv? – danidee Apr 22 '16 at 18:42
0

If you have shapely installed using pim install shapely, simply go to the packages folder: eg C:\pythonXX\Lib\site-packages, the copy the 'Shapely' folder and paste it in the Odoo 10.0\server folder. Restart your Odoo server and you should be good to go.

ndeeri
  • 1
0

Hi I encountered the same problem. I am using Odoo 10 with Pycharm. The problem was that Shapely was installed in my python 2.7 but not in my interpreters library.

Kindly check your interpreters libraries

For more info kindly refer to this link How to install packages to set interpreter