teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

+tag

2019/03/21 07:03

投稿

KojiDoi
KojiDoi

スコア13727

title CHANGED
File without changes
body CHANGED
File without changes

1

追加

2019/03/21 07:03

投稿

KojiDoi
KojiDoi

スコア13727

title CHANGED
File without changes
body CHANGED
@@ -72,4 +72,35 @@
72
72
  Python 3.4.3
73
73
  $ ipython3 -V
74
74
  1.2.1
75
- ```
75
+ ```
76
+
77
+ ### 追記
78
+ 大事なことを書き忘れていました。python3+pandasのスクリプトはつい先日までこのシステム上で問題なく動いていたのです。
79
+ ところがいつのまにか動かなくなっていたことを昨日になって発見した次第です。
80
+
81
+ numpyはちゃんと入っていることになっています。
82
+ 念の為、apt removeしてapt installし直してみましたが、事態は変わりませんでした。
83
+ ```
84
+ $ apt install python3-numpy
85
+ Reading package lists... Done
86
+ Building dependency tree
87
+ Reading state information... Done
88
+ python3-numpy is already the newest version.
89
+ The following packages were automatically installed and are no longer required:
90
+ cdbs dh-translations intltool libblas-dev liblapack-dev libncurses5-dev
91
+ linux-headers-3.13.0-119 linux-headers-3.13.0-119-generic
92
+
93
+ Use 'apt-get autoremove' to remove them.
94
+ 0 upgraded, 0 newly installed, 0 to remove and 173 not upgraded.
95
+ ```
96
+
97
+ python3-venyは何故かインストールできません。
98
+ ```
99
+ # apt-get install python3-venv
100
+ Reading package lists... Done
101
+ Building dependency tree
102
+ Reading state information... Done
103
+ E: Unable to locate package python3-venv
104
+ ```
105
+
106
+ なにより納得できないのは、上に書いたように、ipython3からはpandasもnumpyも問題なく使えているということです。これはとりもなおさず当該ライブラリパッケージのインストール自体はできているということで、再インストールや別環境の用意をせずとも素のpythonからこれを使うことは可能であるはずだと思うのです。