# \#import

**URL:** https://discourse.julialang.org/tag/import/1452.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [How to not import Base.isopen](https://discourse.julialang.org/t/how-to-not-import-base-isopen/128766)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 12\
**Last updated:** [May 18, 2025, 6:04pm UTC](https://discourse.julialang.org/t/how-to-not-import-base-isopen/128766 "2025-05-18T18:04:45Z")

</div>

I would like to write my own isopen function and therefore not import Base.isopen. I have thought of two ways to do this: module MyModule function isopen end # Lots of code... include("file\_that\_defines\_isopen.jl") en…

---

## [Correct using of Reexport](https://discourse.julialang.org/t/correct-using-of-reexport/125835)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 12\
**Last updated:** [February 20, 2025, 4:58pm UTC](https://discourse.julialang.org/t/correct-using-of-reexport/125835 "2025-02-20T16:58:35Z")

</div>

Hello, I’m developing the QuantumToolbox.jl package, to simulate quantum systems in Julia. This package mainly uses linear algebra operations on sparse and dense arrays. Thus, I have those two packages as dependencies. …

---

## [Error Importing \`OptimalTransport\`: \`UndefVarError: \_iszero\` Not Defined in \`LinearAlgebra\`](https://discourse.julialang.org/t/error-importing-optimaltransport-undefvarerror-iszero-not-defined-in-linearalgebra/124574)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 12:49pm UTC](https://discourse.julialang.org/t/error-importing-optimaltransport-undefvarerror-iszero-not-defined-in-linearalgebra/124574 "2025-01-09T12:49:03Z")

</div>

Hello Julia Community, I’m encountering an error when trying to import the OptimalTransport package, and I’m not sure how to resolve it. Below is the error message I receive: Failed to precompile OptimalTransport \[7e02…

---

## ["Error Importing Custom Julia Package: UndefVarError: Zygote not defined Despite Dependency Declaration"](https://discourse.julialang.org/t/error-importing-custom-julia-package-undefvarerror-zygote-not-defined-despite-dependency-declaration/122587)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 5\
**Last updated:** [November 13, 2024, 3:01pm UTC](https://discourse.julialang.org/t/error-importing-custom-julia-package-undefvarerror-zygote-not-defined-despite-dependency-declaration/122587 "2024-11-13T15:01:55Z")

</div>

I’m trying to import a developed package, but I get the following error: julia\> using RandomProjections \[ Info: Precompiling RandomProjections \[acf8f2c6-418f-403f-a7f7-d35fd4a663f5\] ERROR: LoadError: UndefVarError: \`Zyg…

---

## [Clarification on the scope of import/using/include](https://discourse.julialang.org/t/clarification-on-the-scope-of-import-using-include/117222)

<div class="topic-metadata">

**Author:** [@Zotnam](https://discourse.julialang.org/u/Zotnam)\
**Replies:** 1\
**Last updated:** [July 19, 2024, 9:44am UTC](https://discourse.julialang.org/t/clarification-on-the-scope-of-import-using-include/117222 "2024-07-19T09:44:49Z")

</div>

Hi guys, i was trying to understand the source code of the package (conformalprediction.jl, and i have noticed something that i didn’t expect. i am quite new to julia and I thought that when i used import or using …

---

## [How to skip precompilation on \`using\`/\`import\` (for any given package)?](https://discourse.julialang.org/t/how-to-skip-precompilation-on-using-import-for-any-given-package/116917)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 1\
**Last updated:** [July 12, 2024, 7:11am UTC](https://discourse.julialang.org/t/how-to-skip-precompilation-on-using-import-for-any-given-package/116917 "2024-07-12T07:11:39Z")

</div>

I have a startup.jl file with using Revise using OhMyREPL redirect\_stderr(devnull) do @eval using AbbreviatedStackTraces end Since AbbreviatedStackTraces.jl doesn’t support precompilation, I silenced the warnings w…

---

## [Issue with Wildcard Import in Julia Module](https://discourse.julialang.org/t/issue-with-wildcard-import-in-julia-module/111613)

<div class="topic-metadata">

**Author:** [@Daniel\_S](https://discourse.julialang.org/u/Daniel_S)\
**Replies:** 4\
**Last updated:** [March 14, 2024, 2:23pm UTC](https://discourse.julialang.org/t/issue-with-wildcard-import-in-julia-module/111613 "2024-03-14T14:23:15Z")

</div>

I’m encountering an issue with wildcard imports (“import .ModuleName: \*”) in Julia. Specifically, when attempting to import all symbols from a module using the wildcard syntax, the symbols do not seem to be available in …

---

## [Rename just one of imported names with "using"](https://discourse.julialang.org/t/rename-just-one-of-imported-names-with-using/105026)

<div class="topic-metadata">

**Author:** [@RaulDurand](https://discourse.julialang.org/u/RaulDurand)\
**Replies:** 12\
**Last updated:** [October 17, 2023, 12:33am UTC](https://discourse.julialang.org/t/rename-just-one-of-imported-names-with-using/105026 "2023-10-17T00:33:55Z")

</div>

I want to use Luxor in my package, which also has a Point structure. One alternative would be to rename the Point name from Luxor (e.g., as Pt) to avoid conflicts. Luxor exports hundreds of other symbols, but Point is …
