LoginSignup
0

More than 1 year has passed since last update.

PythonにおけるSpicyのエラー

Posted at

Spiderにて、from scipy.interpolate を使用したときに

OSError: Failed to open file b'C:\Users\\xec\x9d\xb4\xeb\x8f\x99\xec\xa7\x84\AppData\Local\Temp\scipy-XXX

といったエラーが表示され、ドツボにハマった経験がある。
これは、C:/users/○○の○○ところに日本語の平仮名、漢字などで名前を登録した際に生じるエラーであることがわかった。

結構そういうのうるさいので,最近は全部新しいドライブ作ってD:/ ~に入れてみたりしたが、
手っ取り早く、Windowsの場合は TEMPとTMPを英文字のディレクトリ下(C:/users/の下)に移動したところうまくコンパイルが通った。

他のアプリでもC : /users/○○のところに日本語の平仮名、漢字などでエラーを起こすことが多いので注意が必要である。

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
What you can do with signing up
0