I am using a linux server which has python 3.6.9 and python 3.10 installed. Whenever I run python3, it loads python 3.6.9. The apt-get install python3-graph-tool installs graph-tool on python 3.6.9, not on python 3.10.
Would it be possible to install graph-tool on python 3.10 by cloning the git repository and running the following lines?
./configure --prefix=/usr/local --with-python-module-path=/usr/local/lib/python3.10/site-packages
make install