Skip to content

Error in PythoneFfi initialize in windows #12

@kondori-reza1990

Description

@kondori-reza1990

Hi.
I want to run a script in windows release but when run project show an error:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathAccessException: Cannot delete file, path = 'C:\Users\kondo\AppData\Roaming\ir.hezare\fishyar/python_ffi/lib/python3.11.zip' (OS Error: The process cannot access the file because it is being used by another process.

, errno = 32)
#0      _checkForErrorResponse (dart:io/common.dart:55:9)
#1      _File._delete.<anonymous closure> (dart:io/file_impl.dart:315:7)
<asynchronous suspension>
#2      PythonFfiCPython.copyPythonStdLib (package:python_ffi_cpython/python_ffi_cpython.dart:47:5)
<asynchronous suspension>
#3      PythonFfiCPythonMixin.initialize (package:python_ffi_cpython_dart/src/python_ffi_cpython_dart_base.dart:312:5)
<asynchronous suspension>
#4      PythonFfi.initialize (package:python_ffi/src/python_ffi_base.dart:26:7)

I do example's steps in my project.
Please help...
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions