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

fix: resolve pip install toml error with virtual python env #415

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

drvcodenta
Copy link
Contributor

Fixed the issue where running ./scripts/init.sh fails on Ubuntu 24 due to the externally-managed-environment error, which arises from Ubuntu 24.04 systems preventing conflicts between system and user-managed Python packages.
Implemented a solution by creating a temporary Python virtual environment for the toml installation.
Updated .gitignore to exclude the venv folder to avoid tracking the virtual environment files.

  • Raised the issue for review, as using a virtual environment for a single dependency may need further discussion.
  • Open to suggestions for alternative solutions
    Here is screenshot of error log
    Screenshot 2024-12-31 163556

Copy link
Collaborator

@bokdeuk-jeong bokdeuk-jeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the proposal.

Copy link
Collaborator

@nook1208 nook1208 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works on my Ubuntu 22.04 too. Thanks !

@bokdeuk-jeong bokdeuk-jeong merged commit 2d98118 into islet-project:main Jan 3, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

3 participants