Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run run_main.py in WSL Ubuntu Failed #153

Open
summerlovewarum opened this issue Sep 28, 2024 · 3 comments
Open

Run run_main.py in WSL Ubuntu Failed #153

summerlovewarum opened this issue Sep 28, 2024 · 3 comments

Comments

@summerlovewarum
Copy link

Try to run run_main.py in WSL, but it failed. the Traceback is as below:

(rungpt2) summer_82asd@DESKTOP-7U5KO5T:/mnt/d/download/time-llm-main$ python3 run_main.py
Traceback (most recent call last):
File "/mnt/d/download/time-llm-main/run_main.py", line 11, in
from data_provider.data_factory import data_provider
File "/mnt/d/download/time-llm-main/data_provider/data_factory.py", line 1, in
from data_provider.data_loader import Dataset_ETT_hour, Dataset_ETT_minute, Dataset_Custom, Dataset_M4
File "/mnt/d/download/time-llm-main/data_provider/data_loader.py", line 3, in
import pandas as pd
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/init.py", line 48, in
from pandas.core.api import (
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/api.py", line 47, in
from pandas.core.groupby import (
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/groupby/init.py", line 1, in
from pandas.core.groupby.generic import (
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/groupby/generic.py", line 76, in
from pandas.core.frame import DataFrame
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/frame.py", line 172, in
from pandas.core.generic import NDFrame
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/generic.py", line 147, in
from pandas.core.describe import describe_ndframe
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/core/describe.py", line 45, in
from pandas.io.formats.format import format_percentiles
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/io/formats/format.py", line 105, in
from pandas.io.common import (
File "/mnt/d/download/Time-LLM-main/rungpt2/lib/python3.11/site-packages/pandas/io/common.py", line 8, in
import bz2
File "/usr/local/python3.11/lib/python3.11/bz2.py", line 17, in
from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'

anyone knows how to fix it?

Thanks!

@Tom5246
Copy link

Tom5246 commented Sep 29, 2024

This seems to be a bug in WSL. You should try running it on a pure Linux system, such as a cloud server

@summerlovewarum
Copy link
Author

By any chance to install some patch to fix this bug?

@Tom5246
Copy link

Tom5246 commented Sep 30, 2024

I tried running it on WSL, but it ultimately failed. Perhaps you could give it a try. I have not encountered this problem after switching to the Ubuntu server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants