Closed ghost closed 5 years ago
@Mavtuv, this import error does not relates to BTgym itself but setuptools. Check here: https://stackoverflow.com/questions/35991403/pip-install-unroll-python-setup-py-egg-info-failed-with-error-code-1
how is this an answer?
@kmillanr, please elaborate - do you encounter same error?
Sorry Andrew,
I apologize... was a bit frustrated not being able to find a solution. Turns out I cannot run: from btgym import BTgymEnv because I am using my company laptop and I think the reason is that when I try to run pip install -e . I get a permission error... so I am left without this option -can't access admin user-. I am trying to run a Deep RL agent that takes in more than one input for stock prediction but everything I find online other than this gym env only uses one feature, I want to include atleast 5 features in the model. And I believe I am not getting the "get current state" part correctly. In any case I will keep trying, thank you very much for you reply.
Best regards,
Kevin
On Wed, Apr 17, 2019 at 9:53 AM Andrew notifications@github.com wrote:
@kmillanr https://github.com/kmillanr, please elaborate - do you encounter same error?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Kismuz/btgym/issues/76#issuecomment-483977761, or mute the thread https://github.com/notifications/unsubscribe-auth/AfFzMEP6m2FvLkDXfW3W4_D6yFht70KOks5vhtLpgaJpZM4YZ-1Y .
@kmillanr, no prob., closing.
I don't know what can I do
Running environment:
conda on Ubuntu 18.10
Files or part of package has been run:
from btgym import BTgymEnv
Actual behaviour:
ImportError: cannot import name 'BTgymEnv' from 'btgym' (unknown location)
What I did:
I have some problem in my virtual env to use 'pip install -e .' I had this error: 'Command "python setup.py egg_info" failed with error code 1' then i use 'sudo pip3 install -e .' and I think is work.