Using the latest release 1.3.5 get error #185
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#185
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
File "/usr/bin/borgmatic", line 7, in
from borgmatic.commands.borgmatic import main
File "/usr/lib64/python3.6/site-packages/borgmatic/commands/borgmatic.py", line 9, in import colorama
ModuleNotFoundError: No module named 'colorama'
Using the latest release 1.35 get errorto Using the latest release 1.3.5 get errorThat release should have pulled in colorama during install. How did you upgrade borgmatic? Did you note whether colorama got installed during that upgrade? And have you tried installing colorama manually? Thanks for reporting this.
I used the following command:
pip3 install --user --upgrade borgmatic
Output:
Requirement already up-to-date: borgmatic in /usr/lib64/python3.6/site-packages (1.3.5)
Requirement already satisfied, skipping upgrade: ruamel.yaml<0.16.0,>0.15.0 in /usr/lib64/python3.6/site-packages (from borgmatic) (0.15.94)
Requirement already satisfied, skipping upgrade: pykwalify<14.06,>=1.6.0 in /usr/lib64/python3.6/site-packages (from borgmatic) (1.7.0)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib64/python3.6/site-packages (from borgmatic) (41.0.1)
Requirement already satisfied, skipping upgrade: colorama<0.5,>=0.4.1 in /root/.local/lib64/python3.6/site-packages (from borgmatic) (0.4.1)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.4.2 in /usr/lib64/python3.6/site-packages (from pykwalify<14.06,>=1.6.0->borgmatic) (2.8.0)
Requirement already satisfied, skipping upgrade: PyYAML>=3.11 in /usr/lib64/python3.6/site-packages (from pykwalify<14.06,>=1.6.0->borgmatic) (5.1)
Requirement already satisfied, skipping upgrade: docopt>=0.6.2 in /usr/lib64/python3.6/site-packages (from pykwalify<14.06,>=1.6.0->borgmatic) (0.6.2)
Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib64/python3.6/site-packages (from python-dateutil>=2.4.2->pykwalify<14.06,>=1.6.0->borgmatic) (1.12.0)
I will remove and re-install to see if that works...
Already there? Sounds like a packaging issue on the system ...
Python 🚀
My guess is that it's because
/root/.local/lib64/python3.6
is not on thePYTHONPATH
. So you might try something like:Thank you for your help!
I uninstalled everything...rebooted the server and tried again successfully...
I must have messed up something when I upgraded to 1.3.5.
Thank you!
Glad to hear it's working now! Let us know if you have any other problems.
🔥