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: reorder search paths #2137

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

sanzoghenzo
Copy link
Contributor

@sanzoghenzo sanzoghenzo commented Mar 4, 2024

this will ensure cpython built-in libraries are used instead of pyrevit site-packages

Fixes the issue raised in this discussion and this one.

To check that it works:

  • create a python 3.8.5 environment and install a package in it, for example langchain
  • set the environment path as PYTHONPATH or use sys.path.append
  • import langchain

this will ensure cpython built-in libraries are used instead of pyrevit
site-packages
@jmcouffin
Copy link
Contributor

Nice one @sanzoghenzo

@jmcouffin jmcouffin merged commit ddcc5b8 into pyrevitlabs:develop-4 Mar 4, 2024
@sanzoghenzo sanzoghenzo deleted the fix-cpython-syspath branch March 5, 2024 20:05
Copy link
Contributor

📦 New public release are available for 4.8.15.24089+0912

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.

2 participants