Skip to content

IOError: [Errno 2] No usable temporary directory #289

Description

@alanjds

Is not possible to create a temporary directory via Python:

>>> import tempfile
>>> tempfile.mkdtemp()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Users/alanjds/src/git/python-for-android/build/python-install/lib/python2.7/tempfile.py", line 310, in mkdtemp
  File "/Users/alanjds/src/git/python-for-android/build/python-install/lib/python2.7/tempfile.py", line 254, in gettempdir
  File "/Users/alanjds/src/git/python-for-android/build/python-install/lib/python2.7/tempfile.py", line 201, in _get_default_tempdir
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions