JelleZijlstra / autotyping

Automatically add simple type annotations to your code
238 stars 20 forks source link

Cant run the module #71

Closed ClementDelannoySlateDigital closed 7 months ago

ClementDelannoySlateDigital commented 7 months ago
 python -m autotyping .
No module named autotyping.__main__; 'autotyping' is a package and cannot be directly executed

Too bad, I'd love to modernize that dirty code

I'm on macOS Sonoma, trying to run it on the VSCode terminal. Same result in ITerm. I tried on a fresh new venv

python -m venv venv
source venv/bin/activate
pip install autotyping
python -m autotyping . 

And I got the same result

Thanks! Clement

JelleZijlstra commented 7 months ago

This should be fixed in the next release, which I'll cut very soon.

JelleZijlstra commented 7 months ago

autotyping 24.3.0, which was just released, fixes this.

ClementDelannoySlateDigital commented 7 months ago

Perfect, thanks a lot! Great tool by the way, it will help a lot :)