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

Build failed with ensurepip #81

Open
manolaz opened this issue Jul 13, 2023 · 0 comments
Open

Build failed with ensurepip #81

manolaz opened this issue Jul 13, 2023 · 0 comments

Comments

@manolaz
Copy link

manolaz commented Jul 13, 2023

I got error when build

aries-vcr-issuer-controller/docker$ ./manage build

=> CACHED [myorg-pipeline 11/15] WORKDIR /data-pipeline 0.0s
=> ERROR [myorg-pipeline 12/15] RUN make install-packages 0.8s

[myorg-pipeline 12/15] RUN make install-packages:
0.812 The virtual environment was not created successfully because ensurepip is not
0.812 available. On Debian/Ubuntu systems, you need to install the python3-venv
0.812 package using the following command.
0.812
0.812 apt-get install python3-venv
0.812
0.812 You may need to use sudo with that command. After installing the python3-venv
0.812 package, recreate your virtual environment.
0.812
0.812 Failing command: ['/data-pipeline/.venv/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']
0.812
0.816 make[1]: *** [.venv/bin/python] Error 1
0.816 .scripts/mara-app/install.mk:35: recipe for target '.venv/bin/python' failed
0.816 .scripts/mara-app/install.mk:15: recipe for target 'install-packages' failed
0.816 make: *** [install-packages] Error 2


failed to solve: process "/bin/sh -c make install-packages" did not complete successfully: exit code: 2

@jamesclark011
Copy link

Hi, were you ever able to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants