Giter Site home page Giter Site logo

無法運行 about ballonstranslator HOT 5 CLOSED

uramungai avatar uramungai commented on June 9, 2024
無法運行

from ballonstranslator.

Comments (5)

dmMaze avatar dmMaze commented on June 9, 2024 1

试试
pip install PyQt6==6.6.1 PyQt6-Qt6==6.6.2

from ballonstranslator.

dmMaze avatar dmMaze commented on June 9, 2024 1

py executable: G:\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe

第二条 log 这里显示的是调用的 ballontrans_pylibs_win 下面的 python, 而 pip install 应该装到了第一条 log 显示的 G:\Python310 下面,所以你可以直接把 ballontrans_pylibs_win 删掉试试
另外 release 页面那个包其实有点老了,不如直接下载现在的源码

from ballonstranslator.

uramungai avatar uramungai commented on June 9, 2024

好像還是一樣

G:\BallonsTranslator_dev_src_with_gitpython>cd G:\BallonsTranslator_dev_src_with_gitpython
G:\BallonsTranslator_dev_src_with_gitpython\launch.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
py version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
py executable: G:\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe
version: 1.4.0
branch: dev
Commit hash: 00e4c9f
[INFO ] config:load_config:188 - G:\BallonsTranslator_dev_src_with_gitpython\config/config.json does not exist, new config file will be created.
Traceback (most recent call last):
File "G:\BallonsTranslator_dev_src_with_gitpython\launch.py", line 285, in
main()
File "G:\BallonsTranslator_dev_src_with_gitpython\launch.py", line 174, in main
from qtpy.QtWidgets import QApplication
File "G:\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\lib\site-packages\qtpy\QtWidgets.py", line 38, in
from PyQt6 import QtWidgets
ImportError: DLL load failed while importing QtGui: 找不到指定的程序。
[INFO ] utils:dump_compile_times:320 - TorchDynamo compilation metrics:
Function, Runtimes (s)
[INFO ] utils:dump_compile_times:320 - TorchDynamo compilation metrics:
Function, Runtimes (s)
I0426 08:57:56.192000 80252 torch_dynamo\utils.py:320] TorchDynamo compilation metrics:
I0426 08:57:56.192000 80252 torch_dynamo\utils.py:320] Function, Runtimes (s)
請按任意鍵繼續 . . .

倒是pip install PyQt6==6.6.1時有出現下面這些

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

from ballonstranslator.

uramungai avatar uramungai commented on June 9, 2024

謝謝作者...自己不知道怎麼弄的,可以運行了。用的不是MEGA的檔案,是發行區那的BallonsTranslator-1.4.0.zip
中途自己做過的變更: pip uninstall了PyQt6==6.6.1 PyQt6-Qt6==6.6.2,重新pip install PyQt6==6.6.1 PyQt6-Qt6==6.6.1。
BallonsTranslator-1.4.0裡的launch_win.bat展開時看見PyQt6與PyQt6-Qt6有自動安裝成6.6.2。

from ballonstranslator.

uramungai avatar uramungai commented on June 9, 2024

py executable: G:\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe

第二条 log 这里显示的是调用的 ballontrans_pylibs_win 下面的 python, 而 pip install 应该装到了第一条 log 显示的 G:\Python310 下面,所以你可以直接把 ballontrans_pylibs_win 删掉试试 另外 release 页面那个包其实有点老了,不如直接下载现在的源码

對,刪除ballontrans_pylibs_win資料夾後最新版的也可以運行了,十分感謝

from ballonstranslator.

Related Issues (20)

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.