We support Python 2.7 and greater but logging this Python 2.6.6 issue for posterity.
When instrumenting an older Python 2.6.6 application, the following error is hit:
Python 2.6.6 (r266:84292, Jun 20 2019, 14:14:55)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/instana/python/instana/__init__.py", line 25, in <module>
import pkg_resources
File "/tmp/instana/python/pkg_resources/__init__.py", line 959, in <module>
class Environment:
File "/tmp/instana/python/pkg_resources/__init__.py", line 963, in Environment
self, search_path=None, platform=get_supported_platform(),
File "/tmp/instana/python/pkg_resources/__init__.py", line 190, in get_supported_platform
plat = get_build_platform()
File "/tmp/instana/python/pkg_resources/__init__.py", line 393, in get_build_platform
from sysconfig import get_platform
ImportError: No module named sysconfig
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/instana/python/instana/__init__.py", line 25, in <module>
import pkg_resources
File "/tmp/instana/python/pkg_resources/__init__.py", line 79, in <module>
from . import py31compat
ImportError: cannot import name py31compat
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/instana/python/instana/__init__.py", line 25, in <module>
import pkg_resources
File "/tmp/instana/python/pkg_resources/__init__.py", line 79, in <module>
from . import py31compat
We support Python 2.7 and greater but logging this Python 2.6.6 issue for posterity.
When instrumenting an older Python 2.6.6 application, the following error is hit: