jannerm / trajectory-transformer

Code for the paper "Offline Reinforcement Learning as One Big Sequence Modeling Problem"
https://trajectory-transformer.github.io
MIT License
455 stars 63 forks source link

Issue with mc_bin_client.py #13

Closed paramita1024 closed 1 year ago

paramita1024 commented 1 year ago

While trying to run your given script, I faced following problems. Traceback (most recent call last): File "scripts/train.py", line 6, in import trajectory.utils as utils File "/home/rs/18CS91P06/Bill_payment/trajectory-transformer-master/trajectory/utils/init.py", line 1, in from .setup import Parser, watch File "/home/rs/18CS91P06/Bill_payment/trajectory-transformer-master/trajectory/utils/setup.py", line 6, in from tap import Tap File "/home/rs/18CS91P06/anaconda3/envs/trajectory/lib/python3.8/site-packages/tap.py", line 6, in from mc_bin_client import mc_bin_client, memcacheConstants as Constants File "/home/rs/18CS91P06/anaconda3/envs/trajectory/lib/python3.8/site-packages/mc_bin_client/mc_bin_client.py", line 14, in from memcacheConstants import REQ_MAGIC_BYTE, RES_MAGIC_BYTE ModuleNotFoundError: No module named 'memcacheConstants'

jannerm commented 1 year ago

Can you give the result of conda list and pip freeze? That might help narrow down the dependency issue.

paramita1024 commented 1 year ago

Thanks. It is working now.

Regards,

Paramita Koley

Ph.D. Student, CSE

Indian Institute Of Technology, Kharagpur

On Mon, Nov 28, 2022 at 11:42 AM Michael Janner @.***> wrote:

Can you give the result of conda list and pip freeze? That might help narrow down the dependency issue.

— Reply to this email directly, view it on GitHub https://github.com/jannerm/trajectory-transformer/issues/13#issuecomment-1328592788, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMUY4EY7YO3P53WJ3VKCDTWKREM7ANCNFSM6AAAAAASKT7HAI . You are receiving this because you authored the thread.Message ID: @.***>

paramita1024 commented 1 year ago

Thanks.

Regards,

Paramita Koley

Ph.D. Student, CSE

Indian Institute Of Technology, Kharagpur

On Tue, Nov 29, 2022 at 7:38 AM Michael Janner @.***> wrote:

Closed #13 https://github.com/jannerm/trajectory-transformer/issues/13 as completed.

— Reply to this email directly, view it on GitHub https://github.com/jannerm/trajectory-transformer/issues/13#event-7908294767, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMUY4GTEYJGPVVJ3B5UMK3WKVQSLANCNFSM6AAAAAASKT7HAI . You are receiving this because you authored the thread.Message ID: @.*** com>

664730 commented 3 months ago

Can you give the result of conda list and pip freeze? That might help narrow down the dependency issue.

May I ask how you resolved it? Thank you.