-
Notifications
You must be signed in to change notification settings - Fork 232
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
Commands not executing #892
Comments
@iomari Hi! Can you do it without the pastebin? But instead wrap it in this:
Thank you |
Also, can you provide these?
|
tmux 3.3a Python 3.11.6 which pip: which tmuxp: pip show libtmux pip show tmuxp echo $PATH echo $SHELL |
I can't solve the problem for you, but I think there is an issue with the system's python setup:
I also don't want to give advice - as I don't want to risk complicating your setup more: But in my experience I've cleared out my python setup completely between distribution upgrades. Familiarizing with where user / system python packages are stored would alleviate what data to clear out. You should see something like this (if you use
Note: However, |
I've resolved the double slashes. However I think the problem may have something to do with Ubuntu variants don't use pip/pip3 anymore. Instead we have to use pipx which installs in it's own virtual environment then links executables:
I think that's why my tmuxp issue started when I upgrade to 23.10. |
So to clarify, there is still an issue?
If so, is there any error?
Does pipx reinstall-all help? (per here<https://pipx.pypa.io/stable/troubleshooting/>?)
Does this FAQ item "Pipx files not in expected locations according to documentation<https://pipx.pypa.io/stable/troubleshooting/#pipx-files-not-in-expected-locations-according-to-documentation>" apply to you? Does the instructions help?
Troubleshooting - pipx<https://pipx.pypa.io/stable/troubleshooting/#pipx-files-not-in-expected-locations-according-to-documentation>
execute binaries from Python packages in isolated environments
pipx.pypa.io
What if, instead of pipx, you use pip install --user --upgrade tmuxp instead?
…________________________________
From: Ibrahim Salim Omari ***@***.***>
Sent: Monday, December 4, 2023 10:33 AM
To: tmux-python/tmuxp ***@***.***>
Cc: Tony Narlock ***@***.***>; Comment ***@***.***>
Subject: Re: [tmux-python/tmuxp] Commands not executing (Issue #892)
I've resolved the double slashes. However I think the problem may have something to do with Ubuntu variants don't use pip/pip3 anymore. Instead we have to use pipx which installs in it's own virtual environment then links executables:
ls -la /home/iomari/.local/bin/tmuxp
lrwxrwxrwx 1 iomari iomari 46 Dec 2 12:11 /home/iomari/.local/bin/tmuxp -> /home/iomari/.local/pipx/venvs/tmuxp/bin/tmuxp
I think that's why my tmuxp issue started when I upgrade to 23.10.
—
Reply to this email directly, view it on GitHub<#892 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAGNYAOSBO2T2WZURJHT7TYHX3MFAVCNFSM6AAAAABAFXG3CWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGAYTGNBWGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I can no longer use pip in kubuntu23.10. `pip3 install pycrypto × This environment is externally managed
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. |
Greetings, I recently updated my kubuntu to 23.10 and for some strange reason, when I execute my tmuxp script, the script no longer executes commands written in the script.
If you look at the script linked below, you'll see that the script is suppose to execute a few command in certain windows. (mc, ranger, ssh egwfw, weechat). However all I see is the commands on each of the respective terminal command line but not executed.
What has changed? I've been using this same script for years now.
https://pastebin.com/1na7PzfM
thanks in advance
iomari
The text was updated successfully, but these errors were encountered: