Skip to content

PermissionError on Windows #1

Description

@godzail

I tried to create a scheleton but I receive this error (on Windows 10):

cookiecutter https://github.com/JeyDi/Python-Skeleton
You've downloaded C:\Users\nicol\.cookiecutters\Python-Skeleton before. Is it okay to delete and re-download it? [yes]:
Select project_type:
1 - Base
2 - Package
3 - FastAPI
4 - Streamlit
5 - DataScience
6 - Mkdocs
Choose from 1, 2, 3, 4, 5, 6 [1]: 4
|---------- "Streamlit" template specific options -----------|
project [python-scheleton]:
author [Andrea Guzzo]:
directory_name [python-scheleton]:
description [Description of the project]:
Select open_source_license:
1 - Not open source
2 - MIT
3 - LGPL3
4 - GPL3
5 - APACHE2
Choose from 1, 2, 3, 4, 5 [1]: 2
Traceback (most recent call last):
  File "C:\Users\nicol\AppData\Local\Temp\tmpl2h5n_ia.py", line 57, in <module>
    os.rename(os.path.join('..', project_type), os.path.join('..', final_dirname))
PermissionError: [WinError 32] Impossibile accedere al file. Il file è utilizzato da un altro processo: '..\\Streamlit' -> '..\\python-scheleton'
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions