VOOZH about

URL: https://qiita.com/kaizen_nagoya/items/d364dd7e31d8853f37da

⇱ ModuleNotFoundError python(41) error(138) #Python - Qiita


πŸ‘ Image
0

Go to list of users who liked

1

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 1 year has passed since last update.

@kaizen_nagoya(Dr. Kiyoshi Ogawa)

ModuleNotFoundError python(41) error(138)

0
Last updated at Posted at 2024-10-10
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-1599bc6e80ec> in <cell line: 4>()
 2 import codecs
 3 from pprint import pprint
----> 4 from datasets import load_dataset
 5 
 6 # γ‚΅γƒ³γƒ—γƒ«γƒ‡γƒΌγ‚ΏγŒδΏε­˜γ•γ‚Œγ¦γ„γ‚‹γƒ‘γ‚Ή

ModuleNotFoundError: No module named 'datasets'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------


---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-df8f1ea99b0d> in <cell line: 4>()
 2 
 3 import torch
----> 4 from datasets import load_dataset
 5 from torch.utils.data import Dataset
 6 from tqdm import tqdm

ModuleNotFoundError: No module named 'datasets'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------




---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-4-8d1b9ad2b097> in <cell line: 2>()
 1 # γƒ‡γƒΌγ‚Ώγ‚»γƒƒγƒˆγƒšγ‚’ε–εΎ—
----> 2 pairs = create_comparison_dataset_ls(data_path)
 3 pprint(pairs[0])

NameError: name 'create_comparison_dataset_ls' is not defined


0

Go to list of users who liked

1
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0

Go to list of users who liked

1