Pipenv fails to create a virtualenv in workflow

#1

Bitrise Build Issue Report template

Description of the issue

creating a virtualenv using pipenv in workflow fails.

Environment:

Where did the issue happen?

Xcode 11.3.x, on macOS 10.14.6 (Mojave)

Which build Step causes the issue and which version of the step?

| (8) Run Symphony |
±-----------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2020-07-14T00:27:49Z

Reproducibility

-Issue started few days back and it happens in one of our workflow where we use a python scripts to run UI Tests on a third party.

Build log

  • cd /Users/vagrant/git/symphony

  • pipenv run pipenv sync --keep-outdated

Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.

Creating a virtualenv for this project…

Pipfile: /Users/vagrant/git/symphony/Pipfile

Using /usr/local/bin/python3.7m (3.7.6) to create virtualenv…

RuntimeError: failed to query /usr/local/opt/python/bin/python3.7 with code 2 err: ‘No such file or directory’

FAIL

[pipenv.exceptions.VirtualenvCreationException]:

Failed to create virtual environment.

0 Likes

closed #2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes