Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

ImportError: No module named mx

Naroči se

Get notified when there's activity on this post

This question has been flagged
v7mx
12 Odgovori
30872 Prikazi
Avatar
jihene

hello, I can not install the module in hotel management open erp v7 an error that occurred is as follows:

OpenERP Server Error

Client Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\http.py", line 195, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1082, in call_button File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1070, in _call_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 43, in proxy File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 31, in proxy_method File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 90, in send File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\netsvc.py", line 295, in dispatch_rpc File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\service\web_services.py", line 614, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 169, in execute_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 123, in wrapper File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 179, in execute File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 166, in execute_cr File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\registry.py", line 214, in new File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 347, in load_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 258, in load_marked_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 161, in load_module_graph File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 405, in load_openerp_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 133, in load_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\hotel__init__.py", line 21, in <module> File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\hotel\hotel.py", line 24, in <module> ImportError: No module named mx

I need help and thank's

0
Avatar
Opusti
jihene
Avtor

problem resolved http://bazaar.launchpad.net/~dhwani-serpentcs/hotel-management-system/hotel-7.0/revision/22?start_revid=22

Avatar
Dharmesh Rathod
Best Answer

Hi,

For windows, you can download from this location : http://www.egenix.com/products/python/mxBase/

For Linux : you can execute this command : sudo easy_install egenix-mx-base

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

2
Avatar
Opusti
Rui Andrada

Why add your contact information into answer? good answer, but I guess you shouldn't add that information here, but you got my vote. I would like to add into your answer in archlinux already has this package `pacman -S python2-egenix-mx-base` installs the package on system or you can use `pip install egenix-mx-base`.

Avatar
Amit Bhavsar (amb)
Best Answer

Another way to solved this,

follow the below step : 1) download package form download.egenix.com downloads.egenix.com/python/egenix-mx-base-3.2.3.win32-py2.6.prebuilt.zip?baseurl=http%3A%2F%2Fdownloads.egenix.com%2Fpython%2F&product=egenix-mx-base&version=3.2.3&platform=win32&python=py2.6.prebuilt.zip 2)extract the file 3) copy the mx folder form the extracted file to C:\Program Files\OpenERP 6.1-1\server 4) restart

1
Avatar
Opusti
Ha Doan

great, it works!

Avatar
AKRAM M ALFUSAYAL
Best Answer

You can install mx module by typing at the command prompt:

pip install egenix-mx-base

pip install egenix-mx-base
for Windows:

python -m pip install egenix-mx-base


if you do not have pip:

just install it by downloading get-pip.py from https://bootstrap.pypa.io/get-pip.py

then run it with:

python -m get-pip.py
0
Avatar
Opusti
Avatar
Gustavo
Best Answer

You should ask the hotel module developer, since the module developer (to the best of my knowledge Hotel module is not part of the OpenERP core) has more information on how it is configured. Having said that, you do not have the mx python module installed in your server

-1
Avatar
Opusti
Avatar
Borni DHIFI
Best Answer

hotel\hotel.py line 24 : from mx import DateTime

"No module named mx " --> a module named mx does not exist.

know that the mx python library is available.

psycopg 2.4.2+ resolve your problem.

-1
Avatar
Opusti
jihene
Avtor

thank's for your answer Can you explain a little how to install psycop2.4.2 in my windows?

Borni DHIFI

Project : http://www.initd.org/psycopg/

Borni DHIFI

Windows download : http://www.stickpeople.com/projects/python/win-psycopg/

Ev Lav

Hi, we have a Windows all-in-one installation v6.1 running on a separate machine to our v7. On the v6.1 installation, having followed the comments here above successfully, we still get the "ImportError: No module named mx" error when installing modules. We even installed the egenix mx modules but still the same error. It looks as though OpenERP v6.1 does not realise that the above modules have been installed. (Python 2.5)

Any ideas where we are going wrong or how to tell OpenERP that the modules mx are actually installed?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How to add a "Delete" button on the popup form? Solved
v7
Avatar
Avatar
1
okt. 25
5470
Minimum Lot Charge For Sales Order Line Items
v7
Avatar
0
dec. 24
10424
Record Rule to allow a User to update their own Employee object without belonging to Officer group Solved
v7
Avatar
Avatar
Avatar
Avatar
3
sep. 24
22867
How to activate the Technical Features? Solved
v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
dec. 24
54918
Way to only allow a specific DB to be the default? Solved
v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
jul. 24
11741
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now