How to add DataFrames to dependencies of package Reinforce?

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

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!

1 Like

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.

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!!

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.