Skip to content

OSError: [Errno 95] Operation not supported: 'lib' -> when installing on Network Drive and Linux #1914

Open
@ginwakeup

Description

@ginwakeup

Describe the bug here.

Environment

  • OS - Linux 20.04
  • Rez version 3.2.1

To Reproduce

  1. Run the install.py script on a Network Drive mounted using CIFS on a Linux Machine

Expected behavior
I am trying to setup an installation of Rez in a Network Drive location.

The Network Drive location contains

  • Windows
  • Linux

sub-directories.

In the Windows directory, I've installed Rez from source, using Python3.10.8 and Windows 10.
The virtualenv is created correctly and rez is installed.

When on Linux, the installation fails probably because the NDrive does not support symlinks.
virtualenv has an option to copy instead of using symlinks, I'd expect this to be available for use through Rez.

Actual behavior
The installation fails on virtualenv creation when on Linux and using a Network Drive.
OSError: [Errno 95] Operation not supported: 'lib' -> '/'

Regression
If applicable, state the last known rez version where the bug did not occur (delete this section if N/A).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions