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

Missing pip in sub-venv with parallel build #165

Closed
stweil opened this issue Aug 20, 2020 · 2 comments
Closed

Missing pip in sub-venv with parallel build #165

stweil opened this issue Aug 20, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@stweil
Copy link
Collaborator

stweil commented Aug 20, 2020

make all -j6 fails because pip is missing:

    Uninstalling pip-9.0.1:
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.6/shutil.py", line 544, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/root/ocrd_all/venv/local/sub-venv/headless-tf1/bin/pip' -> '/tmp/pip-07jk920k-uninstall/root/ocrd_all/venv/local/sub-venv/headless-tf1/bin/pip'

During handling of the above exception, another exception occurred:

It looks like one or two processes tried to upgrade pip at the same time.

@stweil stweil added the bug Something isn't working label Aug 20, 2020
@stweil
Copy link
Collaborator Author

stweil commented Aug 20, 2020

It can be fixed by using the existing semaphores with $(SEM). PR will come soon.

@stweil
Copy link
Collaborator Author

stweil commented Aug 21, 2020

This was fixed with pull request #166.

@stweil stweil closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant