The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.36k stars 374 forks source link

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." #2129

Closed WrathofBhuvan11 closed 2 months ago

WrathofBhuvan11 commented 5 months ago

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."

donn commented 5 months ago

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

WrathofBhuvan11 commented 4 months ago

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

WrathofBhuvan11 commented 4 months ago

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 commented 4 months ago

Please someone reply

donn commented 4 months ago

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…

WrathofBhuvan11 commented 3 months ago

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

kareefardi commented 3 months ago

@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
donn commented 2 months ago

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