Skip to content

ImportError: No module named rez.cli._entry_points #1367

Open
@slvfx

Description

@slvfx

Describe the bug here.

Environment

  • OS (Windows 7)
  • Rez version (2.111.3)
  • Rez python version (the command to get this fails)
  • Python version (2.7.18)

To Reproduce
The first issue is that it fails to install:

./install.py -v C:/Rez
c:\rez\scripts\python.exe: No module named pip

Looking in C:/Rez/Lib/site-packages I noticed it was empty. So I tried copying over the default packages in site-packages from my Python 2.7.18 installation (including pip).

That worked! Or did it:

SUCCESS!
Rez executable installed to: C:\Rez\Scripts\rez\rez
Traceback (most recent call last):
  File "C:\Python27\Lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\Lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Rez\Scripts\rez\rez.exe\__main__.py", line 4, in <module>
ImportError: No module named rez.cli._entry_points

To activate Rez, add the following path to $PATH:
C:\Rez\Scripts\rez

Indeed, every rez command I try to run has that error:

ImportError: No module named rez.cli._entry_points

Is my Windows and/or Python too old?

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