Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of ESP-IDF fails when environment contains variable PIP_USER=yes - error: Can not perform a '--user' install (IDFGH-6237) #7910

Closed
georgik opened this issue Nov 15, 2021 · 0 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@georgik
Copy link
Collaborator

georgik commented Nov 15, 2021

Environment

  • Development Kit: none
  • IDF version : 4.3.1
  • Build System: idf.py
  • Operating System: Windows, Linux, macOS
  • (Windows only) environment type: Plain Command Prompt,PowerShell

Problem Description

Installation scripts of ESP-IDF fails when environment variable PIP_USER is set to value yes

Expected Behavior

Installation scripts (install.bat, install.sh, install.ps1) deploys ESP-IDF or informs user about problem with the variable.

Actual Behavior

Installation fails on command: python.exe -m pip install --no-warn-script-location -r .......\esp-idf\requirements.txt--extra-index-url "https://dl.espressif.com/pypi"

Error message:

ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

Steps to reproduce

CMD:

set PIP_USER=yes
install.bat

PowerShell:

$env:PIP_USER="yes"
.\install.ps1

Bash

export PIP_USER=yes
./install.sh

Workaround

Set PIP_USER to no or delete the environment variable and run install script.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Nov 15, 2021
@github-actions github-actions bot changed the title Installation of ESP-IDF fails when environment contains variable PIP_USER=yes - error: Can not perform a '--user' install Installation of ESP-IDF fails when environment contains variable PIP_USER=yes - error: Can not perform a '--user' install (IDFGH-6237) Nov 15, 2021
@espressif-bot espressif-bot added Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable labels Dec 2, 2021
espressif-bot pushed a commit that referenced this issue Dec 11, 2021
espressif-bot pushed a commit that referenced this issue Dec 11, 2021
espressif-bot pushed a commit that referenced this issue Dec 14, 2021
espressif-bot pushed a commit that referenced this issue Dec 24, 2021
dskulina pushed a commit to playable-tech/esp-idf that referenced this issue Feb 4, 2022
dskulina pushed a commit to playable-tech/esp-idf that referenced this issue Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

2 participants