raymondbutcher / pretf

Generate Terraform code with Python
https://pretf.readthedocs.io/
MIT License
104 stars 14 forks source link

Add 'configparser' to package's deps #57

Closed pepoluan closed 2 years ago

pepoluan commented 4 years ago

On a fresh virtualenv, pretf plan fails with ModuleNotFoundError: No module named 'configparser'

The solution is to pip install configparser before running pretf plan.

I think the dependencies of the package needs to be updated.

raymondbutcher commented 4 years ago

Hi @pepoluan. What version of Python are you using? It should be included in the standard library for any supported version of Python (3.6 and above) as far as I know.

pepoluan commented 4 years ago

Hi @raymondbutcher , I was running pretf under a CPython 3.6 virtualenv (on Ubuntu 18.04 WSL).

I did use a "minimal Ubuntu image" to create the WSL environment, manually "unminimized" on my own, so the "usual" packages might be missing.

raymondbutcher commented 2 years ago

I think this was a problem with your Python installation as I've not encountered this issue across multiple machines and operating systems. Please reopen if you disagree.