Skip to Content
Odoo Menu
  • Sign in
  • 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
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo v17 CE + biometric modules install error even after installing zklib

Subscribe

Get notified when there's activity on this post

This question has been flagged
zkteco
2 Replies
2401 Views
Avatar
cemara

Trying to install the the hr_zk_attendance module by cybrosys, (cant post link yet)

Odoo 17.0-20240711 (Community Edition)

Then, i got this error at first.


Unable to install module "hr_zk_attendance" because an external dependency is not met: Python library not installed: pyzk 



Then i installed in the debian 12 container like this, otherwise i would get externally managed error thing :


root@odoo17:~# sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old


root@odoo16:~# pip3 install zklib 


Collecting zklib


  Using cached zklib-0.1.1-py3-none-any.whl


Installing collected packages: zklib


Successfully installed zklib-0.1.1


WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:


Restart both containers, 

But even with that i still get same error when activating. 

Any thoughts?


0
Avatar
Discard
Jenish M

Do you have a virtual environment(venv) for your odoo. If yes try to install zklib after activating virtual environment
If you don't have venv check your python/lib/sit-packages inside check if you have zklib or not.

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,
You have to ensure that the package has been installed/ trying to install is on the same python version, which is used to run the odoo.

Thanks

1
Avatar
Discard
Avatar
cemara
Author Best Answer

Solved, It was because i installed in the host instead of the container.

0
Avatar
Discard
cemara
Author

root@odoo17:/# python3.11 -m pip freeze
argcomplete==2.0.0
attrs==22.2.0
Babel==2.10.3
certifi==2022.9.24
chardet==5.1.0
charset-normalizer==3.0.1
click==8.1.3
colorama==0.4.6
crit==3.17.1
distlib==0.3.6
distro==1.8.0
docker==5.0.3
docker-compose==1.29.2
dockerpty==0.4.1
docopt==0.6.2
filelock==3.9.0
future==1.0.0
ghp-import==2.1.0
gpg==1.18.0
httplib2==0.20.4
idna==3.3
iniconfig==1.1.1
Jinja2==3.1.2
joblib==1.2.0
jsonpointer==2.3
jsonschema==4.10.3
livereload==2.6.3
lunr==0.6.2
Markdown==3.4.1
MarkupSafe==2.1.2
mergedeep==1.3.4
mkdocs==1.4.2
more-itertools==8.10.0
nltk==3.8
numpy==1.24.2
packaging==23.0
pipx==1.1.0
platformdirs==2.6.0
pluggy==1.0.0+repack
protobuf==4.21.12
psutil==5.9.4
py==1.11.0
pycurl==7.45.2
Pygments==2.14.0
pyinotify==0.9.6
pyparsing==3.0.9
pyrsistent==0.18.1
PySimpleSOAP==1.16.2
pytest==7.2.1
python-apt==2.6.0
python-dateutil==2.8.2
python-debian==0.1.49
python-debianbts==4.0.1
python-dotenv==0.21.0
pytz==2022.7.1
PyYAML==6.0
pyyaml_env_tag==0.1
pyzk==0.9
pyzk-new==0.9.1
regex==2022.10.31
reportbug==12.0.0
requests==2.28.1
rfc3987==1.3.8
simplejson==3.18.3
six==1.16.0
texttable==1.6.7
tornado==6.2
tqdm==4.64.1
uritemplate==4.1.1
urllib3==1.26.12
userpath==1.8.0
virtualenv==20.17.1+ds
watchdog==2.2.1
webcolors==1.11.1
websocket-client==1.2.3
zklib==0.1.1

like this? pyzk is already on 3.11

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

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

Sign up
Related Posts Replies Views Activity
How to integrate ZKTeco biometric device with Odoo 16?
fingerprint zkteco odoo16
Avatar
Avatar
Avatar
2
Sep 25
3795
integration of odoo for ZKteco SpeedFace-H5L[p]
integration odoo zkteco
Avatar
Avatar
Avatar
Avatar
3
Sep 25
3252
Zkteco biometric integration Solved
integration biometric Biometric zkteco
Avatar
Avatar
Avatar
Avatar
Avatar
5
Sep 25
9926
Biometric Device Connection from LAN to Cloud Solved
connection Biometric LAN Cloud zkteco
Avatar
Avatar
Avatar
2
May 23
5828
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