mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[GH-ISSUE #180] Installing into vscode dev container - fail #98
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daxcor69 on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/180
Hello, I am running a vscode dev container. I have installed python via the ansible apt package. Here is my Dockerfile layout
When I enter the container shell, and issue ` pip install proxmoxer' I get the following error.
I am stuck. I don't know what to do. I have confirmed that pip, pip3 and pip3.12 are installed in the container. Not sure if will help but here is the devcontainer.json file
Please any ideas or help would be greatly appreciated.
Thanks
Brad
@morph027 commented on GitHub (Oct 17, 2024):
It's all there:
This is the new, default pip behaviour. It encourages you to create a virtual environment to not mess up system packages.
@morph027 commented on GitHub (Oct 17, 2024):
Hint: proxmoxer does not specify any dependencies in it's setup script, so no other system packages will change by just installing it with the flag.
If you like to test another solution, i've created a Debian package for testing: https://download.morph027.de/python3-proxmoxer_2.1.0+1_all.deb
Edit: also created a follow up in https://github.com/proxmoxer/proxmoxer/issues/181
@Daxcor69 commented on GitHub (Oct 17, 2024):
Thank you for the help. I used the flag to install proxmoxer and requests. When I do pip list, is see both packages listed. When I go to run the ansible playbook referencing community.general.proxmox_kvm I get the error
When I look at ansible docs, what I see is
The below requirements are needed on the host that executes this module.
proxmoxer
requests
Is the host in question the promox host or the host running the ansible playbook. From the error it is saying pve0 which is the proxmox host.
Any help would be appreciated.
Brad
@Daxcor69 commented on GitHub (Oct 17, 2024):
I figured it out, I had to install this on the proxmox server itself. apt install python3-proxmoxer