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

Mac 没办法做支持的吧 #69

Open
bytebitgo opened this issue Jul 17, 2022 · 8 comments
Open

Mac 没办法做支持的吧 #69

bytebitgo opened this issue Jul 17, 2022 · 8 comments

Comments

@bytebitgo
Copy link

Mac 没办法做支持的吧,安装pip python-office 不报错,执行
/Users/betty/PycharmProjects/pythonProject/venv/bin/python /Users/betty/PycharmProjects/pythonProject/myfaker.py
Traceback (most recent call last):
File "/Users/betty/PycharmProjects/pythonProject/myfaker.py", line 6, in
import office
File "/Users/betty/PycharmProjects/pythonProject/venv/lib/python3.10/site-packages/office/init.py", line 1, in
from office.api import word
File "/Users/betty/PycharmProjects/pythonProject/venv/lib/python3.10/site-packages/office/api/word.py", line 13, in
from office.core.WordType import MainWord
File "/Users/betty/PycharmProjects/pythonProject/venv/lib/python3.10/site-packages/office/core/WordType.py", line 2, in
from win32com.client import constants, gencache
ModuleNotFoundError: No module named 'win32com'

@CoderWanFeng
Copy link
Owner

正在开发支持的版本,请问您需要哪个功能?优先开发。

@bytebitgo
Copy link
Author

bytebitgo commented Jul 18, 2022 via email

@Vrolist
Copy link

Vrolist commented Aug 6, 2022

同样用不上

@Vrolist
Copy link

Vrolist commented Aug 6, 2022

期待尽快兼容 macos、win、linux

@cg831344
Copy link

cg831344 commented Oct 7, 2022

同上,期望尽快的支持mac

1 similar comment
@pygo1
Copy link

pygo1 commented Dec 16, 2022

同上,期望尽快的支持mac

@pygo1
Copy link

pygo1 commented Dec 16, 2022

M1的mac折腾了半天环境 发现用不了,沃茨

@CoderWanFeng
Copy link
Owner

目前需要生成测试数据。excel 的Faker功能,我主要在Mac上面用。好像是环境pywin32只能是windows上调用。 我在windows上面测试是正常的。

On Jul 18, 2022, at 16:59, 程序员晚枫 @.***> wrote: 正在开发支持的版本,请问您需要哪个功能?优先开发。 — Reply to this email directly, view it on GitHub <#69 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZ656ZK272HAGMZV7GFN5DVUUMF7ANCNFSM53ZUG6SQ. You are receiving this because you authored the thread.

这个功能,Mac是支持的,使用子库:poexcel,调用方法名不变。
poexcel的源码,见:https://github.com/CoderWanFeng/poexcel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants