Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

module 'distutils' has no attribute 'spawn' while running tests #798

@Hawk777

Description

@Hawk777
  • InfluxDB-python version: 5.2.3
  • Python version: 3.6.10
  • Operating system version: Linux

When I try to run the tests, I get AttributeError: module 'distutils' has no attribute 'spawn' in influxdb_instance.py. If I change import distutils near the top of that file to import distutils.spawn, it gets further. Although I admit I don’t really know why distutils.spawn.find_executable is even needed, rather than just using shutil.which

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions