在使用lijiejie 的.DS_Store 文件利用工具时候, https://github.com/lijiejie/ds_store_exp。

  按照文档安装 ds-store,也还是有问题。

pip install -r requirements.txt

No module named ds_store

运行还是会出现找不到 ds_store 模块。

# python ds_store_exp.py https://xx.xx/.DS_Store
Traceback (most recent call last):
  File "ds_store_exp.py", line 13, in <module>
    from ds_store import DSStore
ImportError: No module named ds_store
# python
Python 2.7.17 (default, Feb 27 2021, 15:10:58) 
[GCC 7.5.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ds_store
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named ds_store

  解决办法:

# wget https://files.pythonhosted.org/packages/38/a1/cab1b1cf3387eec963a18706854facdc5b699f782985a0001579e5dd6cda/ds_store-1.3.0.tar.gz
# tar -xvf ds_store-1.3.0.tar.gz 
# cd ds_store-1.3.0/
# python setup.py install

  这样就 work 了。

No module named ds_store

 

相关文章:

  • 2021-12-07
  • 2021-12-20
  • 2021-04-10
  • 2021-05-18
  • 2021-07-12
  • 2021-08-07
  • 2021-07-06
  • 2021-04-23
猜你喜欢
  • 2021-04-10
  • 2022-01-04
  • 2021-11-21
  • 2021-08-23
  • 2022-12-23
  • 2021-07-06
  • 2021-03-30
相关资源
相似解决方案