Thonny user dir may have not been created
@@ -5,12 +5,12 @@ import sys
THONNY_USER_DIR = os.path.expanduser(os.path.join("~", ".thonny"))
def launch():
+ os.makedirs(THONNY_USER_DIR, mode=0o700, exist_ok=True)
from thonny import running
running._check_create_private_venv()
_prepared_launch()
def _prepared_launch():
- os.makedirs(THONNY_USER_DIR, mode=0o700, exist_ok=True)
try:
from thonny import workbench
