Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Report]Anaconda适配 #65

Closed
illuSION-crypto opened this issue Jun 5, 2022 · 3 comments
Closed

[Report]Anaconda适配 #65

illuSION-crypto opened this issue Jun 5, 2022 · 3 comments
Assignees
Labels
bug Something isn't working Report 已加入ToDo 不错的Feature

Comments

@illuSION-crypto
Copy link

illuSION-crypto commented Jun 5, 2022

QPT版本

1.0b3.dev10

操作系统版本

Windows 10

CPU型号

AMD Ryzen 7 4800H with Radeon Graphics

核心信息填写

步骤描述

按照示例的样子创建了qpt转exe的py脚本,但执行时分析依赖出现错误

【如报错则必须提供】Requirements文件内容

requirements.txt由pip程序生成

 aiohttp==3.8.1
aiosignal==1.2.0
altgraph==0.17.2
astor==0.8.1
async-timeout==4.0.2
attrs==21.4.0
Babel==2.10.1
bce-python-sdk==0.8.64
cachetools==5.2.0
certifi==2022.5.18.1
cfgv==3.3.1
charset-normalizer==2.0.12
ci-info==0.2.0
click==8.1.3
colorama==0.4.4
colorlog==6.6.0
configobj==5.0.6
configparser==5.2.0
cssselect==1.1.0
cssutils==2.4.1
cycler==0.11.0
Cython==0.29.30
datasets==2.2.2
decorator==5.1.1
dill==0.3.4
distlib==0.3.4
et-xmlfile==1.1.0
etelemetry==0.3.0
filelock==3.7.1
fitz==0.0.1.dev2
flake8==4.0.1
Flask==2.1.2
Flask-Babel==2.0.0
fonttools==4.33.3
frozenlist==1.3.0
fsspec==2022.5.0
future==0.18.2
httplib2==0.20.4
huggingface-hub==0.7.0
identify==2.5.1
idna==3.3
imageio==2.19.3
imgaug==0.4.0
importlib-metadata==4.11.4
isodate==0.6.1
itsdangerous==2.1.2
jieba==0.42.1
Jinja2==3.1.2
joblib==1.1.0
kiwisolver==1.4.2
lmdb==1.3.0
looseversion==1.0.1
lxml==4.9.0
MarkupSafe==2.1.1
matplotlib==3.5.2
mccabe==0.6.1
multidict==6.0.2
multiprocess==0.70.12.2
networkx==2.8.2
nibabel==3.2.2
nipype==1.8.1
nodeenv==1.6.0
numpy==1.19.3
opencv-contrib-python==4.4.0.46
opencv-python==4.5.5.64
openpyxl==3.0.10
packaging==21.3
paddle2onnx==0.9.7
paddlefsl==1.1.0
paddlenlp==2.3.2
paddleocr==2.4
paddlepaddle==2.2.0
pandas==1.4.2
pathlib==1.0.1
pefile==2022.5.30
Pillow==9.1.1
platformdirs==2.5.2
pre-commit==2.19.0
premailer==3.10.0
protobuf==3.20.0
prov==2.0.0
pyarrow==8.0.0
pyclipper==1.3.0.post2
pycodestyle==2.8.0
pycryptodome==3.14.1
pydot==1.4.2
pyflakes==2.4.0
pyinstaller==5.1
pyinstaller-hooks-contrib==2022.6
PyMuPDF==1.19.6
pyparsing==3.0.9
PyQt5==5.15.6
PyQt5-Qt5==5.15.2
PyQt5-sip==12.10.1
python-dateutil==2.8.2
python-Levenshtein==0.12.2
pytz==2022.1
PyWavelets==1.3.0
pywin32==304
pywin32-ctypes==0.2.0
pyxnat==1.4
PyYAML==6.0
QPT==1.0b3.dev10
rdflib==6.1.1
requests==2.27.1
responses==0.18.0
scikit-image==0.19.2
scikit-learn==1.1.1
scipy==1.8.1
sentencepiece==0.1.96
seqeval==1.2.2
Shapely==1.8.2
shellcheck-py==0.8.0.4
simplejson==3.17.6
six==1.16.0
threadpoolctl==3.1.0
tifffile==2022.5.4
toml==0.10.2
tqdm==4.64.0
traits==6.3.2
typing_extensions==4.2.0
urllib3==1.26.9
virtualenv==20.14.1
visualdl==2.2.3
Werkzeug==2.1.2
wget==3.2
wincertstore==0.2
xlwings==0.27.8
xlwt==1.3.0
xxhash==3.0.0
yarl==1.7.2
zipp==3.8.0

运行日志

图片

其他信息

图片
程序文件夹位置为“D:\gctz_new”,代码文件没有以中文命名的
求各位老哥帮忙😭

@github-actions
Copy link

github-actions bot commented Jun 5, 2022

Hi,开发者朋友,鉴于您是首次在QPT下新增Issue,请务必参考给定的Issue模板进行Issue的新增。
虽然形如版本号、打包日志等信息可能对你并不重要,但如未提供则可能会严重拖慢Issue的解决效率,因为他们对于QPT的维护者而言非常重要!
如您未按Issue模板进行内容补充,可关闭此Issue或Edit该Issue,社区维护者会对低效Issue直接Close,请悉知!

@illuSION-crypto
Copy link
Author

问题已经解决,发现有的包本身属性可能存在问题
图片
qpackage.py中使用了package_dist.info_location找包的位置,环境中有的包没有该属性加了非None判断后不再报错

@GT-ZhangAcer
Copy link
Member

正常通过pip安装的包是有这个数据的,但anaconda里目前没有,这个会在后期进行适配

@GT-ZhangAcer GT-ZhangAcer moved this from Todo to In Progress in QPT核心框架建设 Jun 6, 2022
@GT-ZhangAcer GT-ZhangAcer changed the title [Report]→请在此处填写Issue标题← [Report]Anaconda适配 Jun 6, 2022
@GT-ZhangAcer GT-ZhangAcer added bug Something isn't working 已加入ToDo 不错的Feature labels Jun 6, 2022
@GT-ZhangAcer GT-ZhangAcer pinned this issue Jun 9, 2022
@GT-ZhangAcer GT-ZhangAcer unpinned this issue Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Report 已加入ToDo 不错的Feature
Projects
Status: In Progress
Development

No branches or pull requests

2 participants