OpenLane icon indicating copy to clipboard operation
OpenLane copied to clipboard

Issue with installation of OpenLane, while running make cmd "Error: Command '['/home/HP/OpenLane/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1."

Open WrathofBhuvan11 opened this issue 1 year ago • 7 comments

image

Here one can see when I run the make command for installation, it throws an error with Python. Please help me with resolving the issue. Error: Command '['/home/HP/OpenLane/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1."

WrathofBhuvan11 avatar Jun 21 '24 22:06 WrathofBhuvan11

Are you following the installation guide in https://openlane.readthedocs.io/en/latest/getting_started/installation/index.html ?

donn avatar Jun 25 '24 12:06 donn

Yes, I'm using Cygwin-X Terminal which is integrated with Windows python (Anaconda installed). I'm running this in Cygwin-X

WrathofBhuvan11 avatar Jul 02 '24 17:07 WrathofBhuvan11

Additionally, I tried the same make run in Ubuntu WSL. Here's the Error Message SS. I have installed docker, enabled Virtual Settings, I can create Images But, issue with python (Which i'm picking from conda py3.10 env I have)

image

How can i redirect this /usr/bin/python3 to conda. I already have defined python3 to conda in bashrc file.

WrathofBhuvan11 avatar Jul 02 '24 18:07 WrathofBhuvan11

Please someone reply

WrathofBhuvan11 avatar Jul 16 '24 17:07 WrathofBhuvan11

We're leaving it open so someone in the community could maybe reply but we don't have much experience with neither Cygwin nor Conda…

donn avatar Jul 17 '24 09:07 donn

We're leaving it open so someone in the community could maybe reply but we don't have much experience with neither Cygwin nor Conda…

Actually I'm currently trying in Ubuntu env windows. Cygwin is just that path but I'm using Ubuntu Linux WSL to run these.

The last reply screenshot is from Ubuntu WSL

WrathofBhuvan11 avatar Jul 30 '24 16:07 WrathofBhuvan11

@WrathofBhuvan11 did you update and install required packages in WSL?

sudo apt-get update
sudo apt-get upgrade
sudo apt install -y build-essential python3 python3-venv make git

kareefardi avatar Aug 01 '24 10:08 kareefardi

I'm afraid we cannot support a conda installation, period. Too many variables.

donn avatar Sep 12 '24 11:09 donn