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

Dependency Conflict With GF180 Package #73

Open
harshkhandeparkar opened this issue Sep 12, 2023 · 1 comment
Open

Dependency Conflict With GF180 Package #73

harshkhandeparkar opened this issue Sep 12, 2023 · 1 comment

Comments

@harshkhandeparkar
Copy link

The gf180 and sky130 packages have different gdsfactory version requirements. Installing both together causes the previously installed gdsfactory version to be replaced with the following error.

Uninstalling gdsfactory-7.3.0:
Successfully uninstalled gdsfactory-7.3.0

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sky130 0.8.0 requires gdsfactory[cad]==7.3.0, but you have gdsfactory 7.1.4 which is incompatible.
Successfully installed gdsfactory-7.1.4

(The above error occurred when gf180 was installed after installing sky130)

This issue was encountered in OpenFASoC's idea-fasoc/OpenFASOC#235, where both gf180 and sky130 packages are required to be installed.

@samadpls
Copy link

To resolve this, I recommend creating two separate virtual environments, one for each package which allows us to isolate their dependencies, ensuring that the specific gdsfactory versions required by each package are satisfied without causing conflicts.

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