Git Product home page Git Product logo

Comments (13)

kakao6 avatar kakao6 commented on June 28, 2024

截屏2022-12-06 14 03 08

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

你用的python版本是多少? 2.7?

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

不是很懂你的操作界面,macOS应该跟Ubuntu的操作流程差不多,在命令窗口安装python 然后pip安装依赖库,然后cd 命令 进入源码解压后的目录下找到bin目录,按命令运行python filemanager.py就行了 不需要安装pycharm,或者你也可以安装一个windows的虚拟机然后在windows中直接运行exe程序也可以

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

看着是你使用的python版本太老了的原因,python2 跟python3是不兼容的,建议更换到python3.8以上版本。其实我更推荐你安装一个windows虚拟机在windows中使用,因为该程序并未在macOS下测试过,所以不知道会不会出现权限问题。

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

你可以百度一下macOS下python环境安装,pip安装依赖包,运行python程序等等,这些资料帖子应该很多

from filemanager.

kakao6 avatar kakao6 commented on June 28, 2024

作者你好,看下这个链接对你是否有帮助。https://blog.csdn.net/sinat_41870148/article/details/105911443?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167030837816800182140720%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=167030837816800182140720&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-1-105911443-null-null.142

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

嗯 还真是,pywin32看来只能在windows上安装,刚刚去测试了一下Ubuntu上面也没有,这个模块主要是用在“计算HASH”模块中读取exe文件的版本号和“时间戳操作”模块中修改文件时间。你如果懂的话可以把这两部分使用到pywin32的相关代码注释掉就行了

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

稍晚一些我去上传一份删掉pywin32的代码,你可以试一下,但是还是建议你装一个windows虚拟机使用,windows版本我自己使用了很长时间,bug基本都已修复,这个代码后期就没有再继续在Ubuntu上面运行过,所以不清楚会不会出现兼容性问题

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

好了,我新建了一个FileManagerForMacOS仓库,移除了pywin32相关部分的代码,你试一下可否运行

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

嗯 算了,你还是先别用了这个代码了,这个代码用了好几个依赖库在macOS和Linux上都有兼容性问题,比如tkinter需要另外安装,subprocess,windnd在不同系统有兼容性问题,在ubuntu上测试一下要改的地方不少,我把那个仓库隐藏了

from filemanager.

wsii avatar wsii commented on June 28, 2024

windnd.hook_dropfiles()方法失效了,改成windnd.drop_files()方法了,运行环境:python310 windnd1.0.7

from filemanager.

wsii avatar wsii commented on June 28, 2024

建议用 pip freeze > ./requirements.txt 命令导出当前安装的包记录

from filemanager.

codecyou avatar codecyou commented on June 28, 2024

requirements.txt已上传,我用的是python3.10.4 windnd1.0.7

from filemanager.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.