FastAPI-template icon indicating copy to clipboard operation
FastAPI-template copied to clipboard

using this entirely changed my $PATH

Open kevinnadar22 opened this issue 1 month ago • 3 comments

i used this pypi library and after that, it altered my $PATH variable and now i simply cannot revert im using git bash on windows

Image

kevinnadar22 avatar Nov 02 '25 06:11 kevinnadar22

I'm not sure of it's even possible. Most probably the reason is in something else.

Can you tell me what you did?

s3rius avatar Nov 02 '25 06:11 s3rius

i used fastapi_template command from vs code's git bash, now i got to know that this issue happened only in vs code git bash

i changed some vars on settings.json and it works now but im sure this issue happened only after i used the fastapi_template because that is the last thing i used on git bash and the altered path also has poetry which did not exists before fastapi_template

the issue is solved btw, can close the issue

kevinnadar22 avatar Nov 02 '25 06:11 kevinnadar22

Seems like you use windows.

Sometimes it can install programs automatically. In fastapi_template we don't install poetry automatically.

https://github.com/s3rius/FastAPI-template/blob/master/fastapi_template%2Ftemplate%2Fhooks%2Fpost_gen_project.py#L64

We just use existing installation. I suspect that windows tried to install poetry itself when you executed a command. Can you try it once again?

s3rius avatar Nov 02 '25 06:11 s3rius