Ranabir Majumder, From what I could find it is that pDynamo only works with version 3 of Python. Therefore, when you try to install the packages you need, the module management system refers to packages that support version 2 of Python. But unfortunately (or fortunately) version 2 is no longer supported. Try using version 3 of the language.
As is the case with python-matplotlib. (Package python-matplotlib 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)
If the use of the second version of the Python language is essential, then I'm afraid you will have to manually search for the modules of previous versions you need.
from InstallUtilities import FindRootDirectory , \
File "/home/ranabir/Downloads/pDynamo-1.9.0/installation/InstallUtilities.py", line 60, in
from types import ListType, TupleType
ImportError: cannot import name 'ListType' from 'types' (/usr/lib/python3.8/types.py)
check the import line, "from types import ListType, TupleType", perhaps in the "types" module, there are no such functions, or this module has a different name in language version 3
In this case:
fatal error: Python.h: No such file or directory
4 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
What command did you use? There is a GCC compiler error, try updating packages and dependencies (sudo apt-get update && sudo apt-get upgrade -y)
And in the latter case:
python3 install.py
File "install.py", line 50
print text1
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(text1)?
You are using the syntax of the second version of the language, although you are running through the third version. They are quite different.