# Package install

**URL:** <https://discourse.julialang.org/t/package-install/105470>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [October 27, 2023, 8:53am UTC](https://discourse.julialang.org/t/package-install/105470 "2023-10-27T08:53:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takelechanie](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/takelechanie/32/202766_2.png) [@Takelechanie](https://discourse.julialang.org/u/Takelechanie)\
**Post date:** [October 27, 2023, 8:53am UTC](https://discourse.julialang.org/t/package-install/105470/1 "2023-10-27T08:53:39Z")

</div>

Dear all,

I installed “PointSpreadFunctions, View5D, IndexFunArrays, Noise, FFTW, NDTools, FourierTools, DeconvOptim” packages but I have gotten these errors in my code during compiling.  
ERROR: UndefVarError: `conv_psf` not defined  
Stacktrace:  
[1] top-level scope  
Anyone help me out please

---

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [October 27, 2023, 9:45am UTC](https://discourse.julialang.org/t/package-install/105470/2 "2023-10-27T09:45:21Z")

</div>

Welcome to the forum! Please have a look at

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

It is very hard to help you without good information. Based on what you shared it seems likely that you forgot to actually load the package via

```julia
using PointSpreadFunctions, View5D, IndexFunArrays, Noise, FFTW, NDTools, FourierTools, DeconvOptim

```

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [October 27, 2023, 11:42am UTC](https://discourse.julialang.org/t/package-install/105470/3 "2023-10-27T11:42:45Z")

</div>

OP said they had an error during compilation though.

I just tried installing this set of packages on 1.10-beta3 and got:

```julia
(@v1.10) pkg> activate --temp
  Activating new project at `/tmp/jl_evFPka`

(jl_evFPka) pkg> add PointSpreadFunctions, View5D, IndexFunArrays, Noise, FFTW, NDTools, FourierTools, DeconvOptim
   Resolving package versions...
    Updating `/tmp/jl_evFPka/Project.toml`
  [03e7cd2f] + DeconvOptim v0.7.2
  [7a1cc6ca] + FFTW v1.7.1
⌅ [b18b359b] + FourierTools v0.3.7
  [613c443e] + IndexFunArrays v0.2.6
  [98581153] + NDTools v0.5.2
  [81d43f40] + Noise v0.3.3
  [e8810a93] + PointSpreadFunctions v0.2.2
  [90d841e0] + View5D v0.4.2

```

then

```julia
julia> using PointSpreadFunctions, View5D, IndexFunArrays, Noise, FFTW, NDTools, FourierTools, DeconvOptim
┌ Warning: JavaCall needs the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`.
│ Calling the JVM may result in undefined behavior.
└ @ JavaCall ~/.julia/packages/JavaCall/MlduK/src/JavaCall.jl:53

```

so things seem to work just fine - please do read the thread linked by Adrian and provide some more information on what you did to get that error.
