# How to add DataFrames to dependencies of package Reinforce?

**URL:** https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939
**Category:** Package Management
**Created:** [May 12, 2022, 8:18am UTC](https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939 "2022-05-12T08:18:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Hupdup](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@Hupdup](https://discourse.julialang.org/u/Hupdup)
#### Post date: [May 12, 2022, 8:18am UTC](https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939/1 "2022-05-12T08:18:45Z")

</div>

Hi everyone,  
I am trying to add DataFrames to the Dependencies of Reinforce. Do you know how to do that?  
I tried the following:

 ![add dataframes](https://global.discourse-cdn.com/julialang/original/3X/f/f/ffe4095fe28900d3e79688f9c9fa2f36721ff8f8.jpeg)

but when I want to use the Package it still says:  
“Warning: Package Reinforce does not have DataFrames in its dependencies”

Do you know what I did wrong?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![albheim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albheim/32/34660_2.png) [@albheim](https://discourse.julialang.org/u/albheim)
#### Post date: [May 12, 2022, 9:26am UTC](https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939/2 "2022-05-12T09:26:22Z")

</div>

I don’t think that is what you want to do. What exactly are you trying to accomplish with this?

If you want to modify `Reinforce` in some way you should not mess with the installation in `packages`, but rather run `] dev Reinforce` in the REPL and then edit the installation in `.julia/dev/Reinforce`.

Or if you just want to create an environment with both packages you can just activate some project folder and add both `Reinforce` and `DataFrames` there, and you would then be able to import both and use together.

---

<div class="post-metadata">

### Author: ![Hupdup](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@Hupdup](https://discourse.julialang.org/u/Hupdup)
#### Post date: [May 12, 2022, 9:38am UTC](https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939/3 "2022-05-12T09:38:42Z")

</div>

I want the env to read the electricity demand and current pv energy production for the next timestep from a CSV file, thats why I have put DataFrames and CSV in my custom env, since they are not deterministic…  
I will try the project folder sounds like a good idea!  
Thanks for your quick reply!!

---

<div class="post-metadata">

### Author: ![albheim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albheim/32/34660_2.png) [@albheim](https://discourse.julialang.org/u/albheim)
#### Post date: [May 12, 2022, 9:50am UTC](https://discourse.julialang.org/t/how-to-add-dataframes-to-dependencies-of-package-reinforce/80939/4 "2022-05-12T09:50:20Z")

</div>

Okay, I would implement this outside of Reinforce then.

Create a project folder and add all packages in that environment (Reinforce/DataFrames/CSV). Create your custom RL environment there and have it just import the things it need from those packages.
