LoginSignup
0
1

今日の作業記録 python error(言語処理100本ノック:84)解決

Last updated at Posted at 2019-01-24
# ./p84.py
Traceback (most recent call last):
  File "./p84.py", line 17, in <module>
    with open(fname_counter_tc, 'rb') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'counter_tc'
# ./p85.py
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 33, in _open_file
    return open(file_like, 'rb'), True
FileNotFoundError: [Errno 2] No such file or directory: 'matrix_x'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./p85.py", line 10, in <module>
    matrix_x = io.loadmat(fname_matrix_x)['matrix_x']
  File "/opt/conda/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 141, in loadmat
    MR, file_opened = mat_reader_factory(file_name, appendmat, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 64, in mat_reader_factory
    byte_stream, file_opened = _open_file(file_name, appendmat)
  File "/opt/conda/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
    return open(file_like, 'rb'), True
FileNotFoundError: [Errno 2] No such file or directory: 'matrix_x.mat'
# ./p86.py
Traceback (most recent call last):
  File "./p86.py", line 12, in <module>
    with open(fname_dict_index_t, 'rb') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'dict_index_t'
# ./p87.py
Traceback (most recent call last):
  File "./p87.py", line 19, in <module>
    with open(fname_dict_index_t, 'rb') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'dict_index_t'
# ./p88.py
Traceback (most recent call last):
  File "./p88.py", line 19, in <module>
    with open(fname_dict_index_t, 'rb') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'dict_index_t'
# ./p89.py
Traceback (most recent call last):
  File "./p89.py", line 19, in <module>
    with open(fname_dict_index_t, 'rb') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'dict_index_t'

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
1
0

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
1