Skip to content

docs: pip install command fails on windows #269

@halr9000

Description

@halr9000

Describe the bug

Here in the docs, it says:

# Minimal install (No terrain or opengl GT, ok for Infinigen-Indoors or single-object generation) 
INFINIGEN_MINIMAL_INSTALL=True pip install -e .

That command will generate a syntax error using a cmd or powershell shell.

Steps to Reproduce

Assuming PowerShell, as one does.

  1. Install Miniconda using winget (winget install --id=Anaconda.Miniconda3 -e)
  2. Open conda shell, or change your default powershell profile to do so
  3. Follow the infinigen install steps from git clone to conda activate
  4. Attempt to run pip install, and observe:
PS C:\Users\hal> INFINIGEN_MINIMAL_INSTALL=True pip install -e .
INFINIGEN_MINIMAL_INSTALL=True: The term 'INFINIGEN_MINIMAL_INSTALL=True' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

What version of the code were you using?

967970e

Platform

  • OS & OS Version: Win11

Suggested fix

This should work, but I don't yet know how to verify if it did only install the minimal as specified. Got no errors, about to try it out!

$env:INFINIGEN_MINIMAL_INSTALL="True" && pip install -e .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions