Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i install module error in pakage import xmltodict ModuleNotFoundError: No module named 'xmltodict i install this pakge still riase error #12644

Closed
1 task done
HamidAbdalla123 opened this issue Apr 21, 2024 · 2 comments
Labels
S: awaiting response Waiting for a response/more information type: support User Support

Comments

@HamidAbdalla123
Copy link

Description

pip install xmltodict
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: xmltodict in ./.local/lib/python3.10/site-packages (0.13.0)
DEPRECATION: pdfminer-six -VERSION- has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pdfminer-six or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at #12063

/!\ ODOO.SH WARNING /!\

Manually installing packages lacks resilience, is not shared across other
containers, and may be lost during an upgrade to a newer version due to
potential differences in Python versions.

It is preferable to include the packages in the 'requirements.txt' file
of your repository.

Expected behavior

No response

pip version

23.3.1

Python version

3.10

OS

ubuntu

How to Reproduce

  • when i tray to install odoo module
  • import xmltodict
    ModuleNotFoundError: No module named 'xmltodict
  • after i install module still raise error

Output

No response

Code of Conduct

@HamidAbdalla123 HamidAbdalla123 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Apr 21, 2024
@ichard26 ichard26 added type: support User Support S: awaiting response Waiting for a response/more information and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Apr 21, 2024
@ichard26
Copy link
Member

ichard26 commented Apr 21, 2024

How are you running pip? You are likely invoking a pip that belongs to a different Python environment than you're expecting. One thing you can try is to take however you run a Python file on the command-line and call pip as a package. For example, if you enter python3 myprogram.py on your computer, then you can use python3 -m pip install <some-package> to ensure that you're calling the right pip. On a different note, I'd also recommend using virtual environments instead using the system Python.

Finally, we have limited bandwidth to provide help with support requests. You will probably be better served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #python-help channel, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow.

@ichard26
Copy link
Member

Closing due due to lack of follow-up.

@ichard26 ichard26 closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: awaiting response Waiting for a response/more information type: support User Support
Projects
None yet
Development

No branches or pull requests

2 participants