Skip to content

docs: Code loading order #625

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

Merged
merged 2 commits into from
Jul 1, 2025
Merged

docs: Code loading order #625

merged 2 commits into from
Jul 1, 2025

Conversation

icweaver
Copy link
Contributor

Added a note to help avoid the code loading edge case hit in JuliaPy/CondaPkg.jl#188, e.g.,

using PythonCall
using CondaPkg
CondaPkg.add("numpy")
np = pyimport("numpy")

can fail on some platforms, while

using CondaPkg
CondaPkg.add("numpy")
using PythonCall
np = pyimport("numpy")

works as intended.

@cjdoris cjdoris merged commit a06ee77 into JuliaPy:main Jul 1, 2025
13 checks passed
@cjdoris
Copy link
Collaborator

cjdoris commented Jul 1, 2025

cheers :)

@icweaver icweaver deleted the usage-docs branch July 1, 2025 17:33
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