我在 Linux 和 Windows 系统上都使用过 python,偶尔用“conda clean --all”清理东西。
我刚刚注意到我的 Windows 机器上的 anaconda3/pkgs/.trash 目录大约为 3 Gb 左右。是什么赋予了?为什么不使用“conda clean --all”清除它?
可以删除此目录中的内容,还是会破坏某些内容?
这是在 Ubuntu 16.04 LTS 上。
我遇到了与这个问题相同的问题:
我已经完成了以下设置 gtk3
conda install -c conda-forge pygobject
sudo apt-get install libgtk-3-dev
sudo apt install python3-gi gobject-introspection gir1.2-gtk-3.0
Run Code Online (Sandbox Code Playgroud)
然而,简单的测试程序为:
https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
失败,并出现相同的错误:
Python 3.7.7 (default, Mar 26 2020, 15:48:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version("Gtk", "3.0")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/me/anaconda3/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' …Run Code Online (Sandbox Code Playgroud)