zoukankan      html  css  js  c++  java
  • No module named ds_store

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

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

    pip install -r requirements.txt

    运行还是会出现找不到 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 了。

    -------------------------------------------

    个性签名:如果世上的事都按你说的道理走 世界就不是现在这样了!

    如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!

  • 相关阅读:
    2019.10.25 csp-s模拟测试87 反思总结
    2020.7.13
    2020.7.12 5. 最长回文子串
    全序列匹配(java)
    2020.7.10 刷题
    Matlab可视化小结
    C-means
    银行家算法(java swing)界面
    完全数——多线程 (Java)
    SIR模型实现(matlab)
  • 原文地址:https://www.cnblogs.com/Hi-blog/p/No_module_named_ds_store.html
Copyright © 2011-2022 走看看