TaskCoach Ubuntu 20.04 LTS cannot be installed
The TaskCoach cannot be installed on Ubuntu 20.04 LTS:
* It is not available in Ubuntu Software Center
* Install repository 'PPA for Ubuntu' from TaskCoach didn't work for the Focal Fossa distribution.
* Install debian package (deb) via ' Software Install (default)' didn't work because of unmet dependencies.
Unmet dependencies: python-wxgtk3.0 python-wxgtk3.0 python-wxversion python-twisted ttf-dejavu python-igraph
Packages can be installed except packages python-twisted and python-igraph.
rene@TP:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-twisted is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python-igraph is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-twisted' has no installation candidate
E: Package 'python-igraph' has no installation candidate
How to install or resolve these unmet dependencies?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Task Coach Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
What was the unmet dependency exactly ?
Revision history for this message
![]() |
#2 |
What was the unmet dependency exactly ?
Revision history for this message
![]() |
#3 |
Hi, I have the same Problem with Ubuntu 20.04:
--- Snip from Terminal ----
The following packages have unmet dependencies:
taskcoach : Depends: python-wxgtk3.0 (>= 3.0.0.0) but it is not going to be installed
--- Snip ----
Revision history for this message
![]() |
#4 |
Ubuntu 20.04 has stopped providing Python2 and related packages.
An example: python-twisted does not exist on Ubuntu 20.04 any more; there now is python3-twisted, working with Python3
Revision history for this message
![]() |
#5 |
No python2 at all ? Well not much we can do. Task Coach has never been ported to Python3 unfortunately, and that's too much work for me to do right now.
Revision history for this message
![]() |
#6 |
To go more into details:
Python 2 is not part of a standard Ubuntu 20.04 Installation, but it can be installed (the package is named python2).
Several related packages like python-twisted, however, do not exist any more on Ubuntu 20.04.
see also https:/
And for the general development with respect to python 2 see https:/
Revision history for this message
![]() |
#7 |
Yes, I'm well aware of the python2 situation. Nevertheless porting Task Coach would be a really big work, and I don't even have time to fix bugs. I guess the best solution left would be a virtualenv and install dependencies by hand.
Revision history for this message
![]() |
#8 |
In Ubuntu 20.04 one has to re-install python2.7 and pip2
See also:
https:/
https:/
My instructions may be incomplete because it took me hours to sort this out.
Follow instructions to install and configure python2 and pip2 at above pages.
Then:
curl https:/
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
Download taskcoach_
sudo dpkg --force-all -i taskcoach_
And then launch from command line:
taskcoach.py
I don't yet know what I broke on my system when setting python2 as default instead of python3
It would be very helpful if Taskcoach developers could update to python3
In any case, thank you Jérôme and friends -- I've been using TaskCoach for many years and hope I can still do so.
Revision history for this message
![]() |
#9 |
An alternative would be if the developers would provide instructions to configure TaskCoach to call and work with python2 on a system that has both python2 and python3 installed but where python3 is the default.
Thank you!
Revision history for this message
![]() |
#10 |
Answering my own question:
Edit /usr/bin/
or /usr/local/
Add a 2 at the end of the first line:
#!/usr/bin/python2
Then execute
sudo update-alternatives --config python
select 0 (/usr/bin/python3 2 auto mode)
And then launch taskcoach.py
Revision history for this message
![]() |
#11 |
So what about creating a snap for this? If the developer created a YAML file and hosted a copy on GitHub they would automatically generate a snap package.
Revision history for this message
![]() |
#12 |
Hey everybody,
I installed Kubuntu 20.04 yesterday and so came across this problem as well. I got Taskcoach to work by going ThomasN's route as outlined in comment #8. The sudo update-alternatives thing from #10 did not work for me, said something like "no alternatives for python".
Anyway the problem for me was that apt would still complain about unmet dependencies python-igraph and python-twisted for Taskcoach, and I couldn't install or deinstall other things. I solved this in a very hacky way by editing /var/lib/
But yes, I would also be very happy to see a snap package to resolve those kinds of headaches. I absolutely love Taskcoach, it is integral to my workflow by now – I would gladly offer to help out, but I really don't know the first thing about python – not my programming language :-\ In any case, I'm super glad I got it running for now, thank you for all your work on Taskcoach!!
Revision history for this message
![]() |
#13 |
Hi Anna,
Thanks for your solution.
I forgot to list that I had also installed python2, i.e., python 2.7.
Going back into my command history I see I had done a:
sudo apt install python2.7 python2.7-dev build-essential libxml2-dev libxslt1-dev zlib1g-dev
Anyway, I'm glad you found a simpler solution!
Revision history for this message
![]() |
#14 |
Jerome recently mentioned making AppImages perhaps. Anyway, besides directly helping, anyone could potentially help with *recruiting* experienced Python developers. I have too many other priorities but wish I could get to that myself more (the recruiting).
Revision history for this message
![]() |
#15 |
ugh, I'm now getting stuck with this myself!
Please can anyone help? I did the pip2 stuff and the --force-all for dpkg, and the error I'm still getting is:
$ taskcoach.py
Traceback (most recent call last):
File "/usr/bin/
wxversion.
File "/usr/lib/
raise VersionError(
wxversion.
I guess I don't have wxPython, and I have no idea how to get it (or the right version)
Revision history for this message
![]() |
#16 |
update: I got it to work!! I got wxPython by first removing Task Coach and then I could install python-wxgtk3.0
I think this is the updated instructions:
install python2.7 and pip2
incidentally, I don't have python3 installed, so there may be workarounds needed for those who do (some of those are in above comments). There's also a package called "python-is-python2"
curl https:/
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0
download the latest .deb from https:/
sudo dpkg --force-all -i taskcoach_ … … .deb (use tab completion, it needs to be whatever the full file name for the version)
so, this worked. I have a desktop file in my launched too, so I don't have to use the terminal to run Task Coach.
This may not work well on into the future. We've got to get Task Coach to Python3 for it to not die
Revision history for this message
![]() |
#17 |
Just to add, I had to also do Anna's hack of editing /var/lib/
Revision history for this message
![]() |
#18 |
Just to add, I had to also do Anna's hack of editing /var/lib/
Revision history for this message
![]() |
#19 |
Hi all!
I have tried all the steps you have written here, but still no success.
The Anna trick for some reason does not work either. After I modified that file, when I do the dpkg -i , the file gets automatically reloaded as before and the package can't be installed as the dependencies are not met:
Output:
sudo dpkg --force-all -i taskcoach_
(Reading database ... 283484 files and directories currently installed.)
Preparing to unpack taskcoach_
Unpacking taskcoach (1.4.6-1) over (1.4.6-1) ...
dpkg: taskcoach: dependency problems, but configuring anyway as you requested:
taskcoach depends on python-wxgtk3.0 (>= 3.0.0.0); however:
Package python-wxgtk3.0 is not installed.
taskcoach depends on python-wxversion; however:
Package python-wxversion is not installed.
taskcoach depends on python-twisted (>= 10.0); however:
Package python-twisted is not installed.
taskcoach depends on python-igraph; however:
Package python-igraph is not installed.
Setting up taskcoach (1.4.6-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Any hints?
Revision history for this message
![]() |
#20 |
Hi Mario,
Looking into my shell history, I see some commands I tried:
sudo pip install --upgrade wxversion
sudo pip install --upgrade wxpython
I'm not sure what was the outcome of these command. You may want to check whether your pip command is associated to pip2 or pip3. Possibly use pip2 instead of pip3 as I believe taskcoach only works with python2.
Ciao for now,
-T
Revision history for this message
![]() |
#21 |
Mario, you tried all of what I wrote above?
First *uninstall* Task Coach. Then:
sudo apt install python2
curl https:/
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0
only *after* this:
download the latest .deb from https:/
sudo dpkg --force-all -i taskcoach_
then edit /var/lib/
I'm not sure if the stuff Thomas mentioned is also needed at all. Yes, Thomas, Task Coach only works with Python2 at this time (and likely for a long time, hopefully hopefully not forever).
Revision history for this message
![]() |
#22 |
Thank you very much for your reply! I'll try it today
Revision history for this message
![]() |
#23 |
unfortunately it still does not work.
This is the output I get launching the taskcoach.py:
~$ python /usr/bin/
Traceback (most recent call last):
File "/usr/bin/
start()
File "/usr/bin/
app = application.
File "/usr/lib/
class_.instance = super(Singleton, class_)
File "/usr/lib/
self.
File "/usr/lib/
from taskcoachlib import gui, persistence
File "/usr/lib/
from .mainwindow import MainWindow
File "/usr/lib/
from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
File "/usr/lib/
from .task import TaskViewer, TaskStatsViewer, CheckableTaskVi
File "/usr/lib/
import igraph
File "/usr/local/
raise DeprecationWarn
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.
Any hint?
Revision history for this message
![]() |
#24 |
Guessing but try
sudo pip2 install igraph
also you can do
sudo apt install python-is-python2
and did you *remove* the python-igraph dependency by editing /var/lib/
Revision history for this message
![]() |
#25 |
@Aaron Wolf (wolftune)
Thank you very much for your assistance.
Unfortunately those commands did not help
I modified the file. Now it looks like:
Package: taskcoach
Status: install ok installed
Priority: optional
Section: Applications
Installed-Size: 10869
Maintainer: Frank Niessink, Jerome Laheurte, and Aaron Wolf <email address hidden>
Architecture: all
Version: 1.4.6.8056-1
Depends: python (>= 2.6), python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils
Recommends: python-notify, libgnome2-0, libavahi-
Suggests: python-kde4
Output is following:
mario@mario-pc:~$ sudo pip2 install igraph
[sudo] password for mario:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https:/
Requirement already satisfied: igraph in /usr/local/
Requirement already satisfied: ipython in /usr/local/
Requirement already satisfied: simplegeneric>0.8 in /usr/local/
Requirement already satisfied: backports.
Requirement already satisfied: setuptools>=18.5 in /usr/local/
Requirement already satisfied: pathlib2; python_version == "2.7" or python_version == "3.3" in /usr/local/
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/
Requirement already satisfied: pickleshare in /usr/local/
Requirement already satisfied: prompt-
Requirement already satisfied: decorator in /usr/local/
Requirement already satisfied: traitlets>=4.2 in /usr/local/
Requirement already satisfied: pygments<2.6 in /usr/local/
Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/
Requirement already satisfied: six in /usr/local/
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/
Requirement already satisfied: wcwidth in /usr/local/
Requirement already satisfied: enum34; python_version == "2.7" in /usr/local/
Requirement already satisfied: ipython-genutils in /usr/local/
Requirement already satisfied: backports.
mario@mario-pc:~$ sudo apt install python-is-python2
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-is-python2 is already the newest version (2.7.17-4).
The following packages were automatically installed and are no longer required:
libllvm9 qtgstreamer-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 118 not upgraded.
Launching the script now it gives me the following:
$ taskcoach.py
Traceback (most recent call last):
File "/usr/bin/
start()
File "/usr/bin/
app = application.
File "/usr/lib/
class_.instance = super(Singleton, class_)
File "/usr/lib/
self.
File "/usr/lib/
from taskcoachlib import gui, persistence
File "/usr/lib/
from .mainwindow import MainWindow
File "/usr/lib/
from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
File "/usr/lib/
from .task import TaskViewer, TaskStatsViewer, CheckableTaskVi
File "/usr/lib/
import igraph
File "/usr/local/
raise DeprecationWarn
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.
No hope?
Revision history for this message
![]() |
#26 |
I'm not certain on any of this
Maybe there's a different matter around editing /var/lib/
The removing of the dependencies is just about allowing it to continue installing I think.
So, you could *purge* Task Coach with `sudo apt purge taskcoach`
start over, and when you get a dependency block on on something, then you edit that status file with `sudo vim /var/lib/
then, you can go back to the manual installing of the .deb and it should complete?
There's hope at least. I and others have it. And maybe Jerome can get around to packaging it in some functional way.
Revision history for this message
![]() |
#27 |
Okay, I just reinstalled and got it to work again.
Here's more specific details:
When editing /var/lib/
python-twisted (>= 10.0)
ttf-dejavu
python-igraph
and make sure the depends line doesn't end with a comma.
That should allow Task Coach to run, it did for me.
Revision history for this message
![]() |
#28 |
so Mario, the thing you need is to remove ttf-dejavu (that was still in the text you shared)
Revision history for this message
![]() |
#29 |
hey there! sorry I was abroad, I will try this evening.. thank you very much!
Revision history for this message
![]() |
#30 |
dear Aaron, thank you again.
Same problem, after I modify the /var/lib/
sudo dpkg -i taskcoach_
(Reading database ... 284118 files and directories currently installed.)
Preparing to unpack taskcoach_
Unpacking taskcoach (1.4.6.8056-1) over (1.4.6.8056-1) ...
dpkg: dependency problems prevent configuration of taskcoach:
taskcoach depends on python-twisted (>= 10.0); however:
Package python-twisted is not installed.
taskcoach depends on ttf-dejavu; however:
Package ttf-dejavu is not installed.
taskcoach depends on python-igraph; however:
Package python-igraph is not installed.
dpkg: error processing package taskcoach (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
taskcoach
Launching the executable again I get:
taskcoach.py
Traceback (most recent call last):
File "/usr/bin/
start()
File "/usr/bin/
app = application.
File "/usr/lib/
class_.instance = super(Singleton, class_)
File "/usr/lib/
self.
File "/usr/lib/
from taskcoachlib import gui, persistence
File "/usr/lib/
from .mainwindow import MainWindow
File "/usr/lib/
from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
File "/usr/lib/
from .task import TaskViewer, TaskStatsViewer, CheckableTaskVi
File "/usr/lib/
import igraph
File "/usr/local/
raise DeprecationWarn
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.
I have no idea why. It's like if my /var/lib/
Revision history for this message
![]() |
#31 |
Mario, your latest post lacks the --force-all part of the dpkg command. Perhaps you still have the *old* install and didn't force the new one? Try purging task coach first and start over using the --force-all as well as the editing of /var/lib/
I think I did this FIRST (after purging any existing install):
sudo dpkg --force-all -i taskcoach…dmg
and THEN I edited /var/lib/
The --force-all gets the install to work and the status file edit allows Task Coach to be run. If you ever try to dpkg -i again, it will indeed put the stuff back into the status file.
Revision history for this message
![]() |
#32 |
The whole story with editing /var/lib/
The only reasonable solution is that someone creates a new version of the package with dependencies that can be fulfilled on Ubuntu 20.04 and higher.
Revision history for this message
![]() |
#33 |
@Aaron you were right. I forgot the force, but I tried also the force one and it did not go through again. Both modifying /var/lib/
Damn, I really love taskcoach. It is a real pity it is not possible to use it in a new version of Kubuntu.
@Manfred This new package looks the best solution indeed.
Is there no other way to install it? like snap or something similar?
Revision history for this message
![]() |
#34 |
There's no current option for other install (though it's a doable thing for someone to make, but not trivial).
But I succeeded multiple times on installing in KDE Neon, which is basically Ubuntu + KDE, it's comparable to Kubuntu. So, we should be able to hack this together. Maybe schedule a time we could chat on IRC and try running through this? You can email me at <email address hidden> to discuss that if you want. I am myself way too reliant on Task Coach and could not easily switch away ever. Nothing else is quite like it.
Revision history for this message
![]() |
#35 |
Thank you very much for your availability Aaron, I really appreciated it. I'm sure I'm not the only one looking for a solution. I think this application is so far the best I've tried, and I really would like to make it work on my system. I'll send you an email and we'll see how to go through this somehow. Have a nice weekend!
Revision history for this message
![]() |
#36 |
It's quick and dirty but I've installed the Windows executable under Wine with no problems. I do not know how much of a long term solution it is or how stable it will be. This was under Ubuntu Mate 20.04.1 LTS 64 bit.
Revision history for this message
![]() |
#37 |
wow Steve, I didnt' thought about it . I'll try asap, it looks an awesome alternative ;)
Revision history for this message
![]() |
#38 |
tried on wine.. it install it, but it crashes when clicking on the edit menu.
It seems so challenging damn
Revision history for this message
![]() |
#39 |
still not working. Any other idea?
Revision history for this message
![]() |
#40 |
@mario please open a support request at https:/
Revision history for this message
![]() |
#41 |
Thank you for your reply. I'll do that. I'm sure it will be useful for other people too! many people use Ubuntu these days
Revision history for this message
![]() |
#42 |
Quoting a successful summary from https:/
First *uninstall* Task Coach. Then:
sudo apt install python2
curl https:/
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0
sudo apt install ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
only *after* this:
download the latest .deb from https:/
sudo dpkg --force-all -i taskcoach_
then edit /var/lib/
(search for the line: "Depends: python (>= 2.6), python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, python-twisted (>= 10.0), libxss1, ttf-dejavu, xdg-utils, python-igraph" )
So change this to: "Depends: python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils"
sudo apt install --fix-broken**
Next step is to tell TaskCoach to use python2:
~$ sudo xed /usr/bin/
edit the 1st line by adding '2' at the end
Revision history for this message
![]() |
#43 |
Thank you again for your message and Merry Christmas to all!
Still not working:
This is the status file:
Package: taskcoach
Status: install ok installed
Priority: optional
Section: Applications
Installed-Size: 10869
Maintainer: Frank Niessink, Jerome Laheurte, and Aaron Wolf <email address hidden>
Architecture: all
Version: 1.4.6.8056-1
Depends: python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils
Recommends: python-notify, libgnome2-0, libavahi-
Suggests: python-kde4
And this is the output of my taskcoach:
taskcoach.py
Traceback (most recent call last):
File "/usr/bin/
start()
File "/usr/bin/
app = application.
File "/usr/lib/
class_.instance = super(Singleton, class_)
File "/usr/lib/
self.
File "/usr/lib/
from taskcoachlib import gui, persistence
File "/usr/lib/
from .mainwindow import MainWindow
File "/usr/lib/
from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
File "/usr/lib/
from .task import TaskViewer, TaskStatsViewer, CheckableTaskVi
File "/usr/lib/
import igraph
File "/usr/local/
raise DeprecationWarn
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.
I still haven't opened the bug, but I will in these holidays.
Thank you again
Revision history for this message
![]() |
#44 |
WE HAVE AN APPIMAGE! HOORAY!
https:/
direct link: https:/
Revision history for this message
![]() |
#45 |
That's a great news! thanks! I'm going to try it asap
Revision history for this message
![]() |
#46 |
Thank you for your reply. I'll do that. I'm sure it will be useful for other people too! many people use Ubuntu these days
Revision history for this message
![]() |
#47 |
Last message got sent by mistake..
Revision history for this message
![]() |
#48 |
I just want to thank you for the app image. I can confirm that it now works!
Can you help with this problem?
Provide an answer of your own, or ask René Driessen for more information if necessary.