English 中文(简体)
I can tstaling pywin32 or pypiwin32 in python
原标题:I can t install pywin32 or pypiwin32 in python
  • 时间:2024-02-24 01:43:57
  •  标签:
  • python

HELP ME PlEASE!!! Even though I tried downloading it over and over again, I still couldn t download it. pip3 install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none) ERROR: No matching distribution found for pywin32 pip3 install pypiwin32 Collecting pypiwin32 Using cached pypiwin32-223-py3-none-any.whl (1.7 kB) INFO: pip is looking at multiple versions of pypiwin32 to determine which version is compatible with other requirements. This could take a while. Using cached pypiwin32-219.zip (4.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out[ return_val ] = hook(**hook_input[ kwargs ]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[ wheel ]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 121 print "Building pywin32", pywin32_version ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to print . Did you mean print(...)? [end of output]

注: 这一错误源自分处理,并可能不会成为与预谋有关的问题。 error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

注: 这一错误源自分处理,并可能不会成为与预谋有关的问题。

pip3 install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none) ERROR: No matching distribution found for pywin32 pip3 install pypiwin32 Collecting pypiwin32 Using cached pypiwin32-223-py3-none-any.whl (1.7 kB) INFO: pip is looking at multiple versions of pypiwin32 to determine which version is compatible with other requirements. This could take a while. Using cached pypiwin32-219.zip (4.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out[ return_val ] = hook(**hook_input[ kwargs ]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[ wheel ]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "/private/var/folders/np/j0b1hzy156ncglb74zdj8hcw0000gn/T/pip-build-env-11jntcle/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 121 print "Building pywin32", pywin32_version ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to print . Did you mean print(...)? [end of output]

注: 这一错误源自分处理,并可能不会成为与预谋有关的问题。 error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

注: 这一错误源自分处理,并可能不会成为与预谋有关的问题。

问题回答

根据你错误电文中的档案路径,它像你那样试图在含水层系统中安装<条码>pywin32<>>> 代码”,这就是为什么它失败的原因。

<代码>pywin32只适用于Windows系统,因为它依赖Windows DLs。 您需要使用Windows电脑,与pywin32成套设备一起工作。

The specific reason for the error message:

SyntaxError: Missing parentheses in call to print . Did you mean print(...)? [end of output]

这是因为,pip可以找到目前版本,并试图安装旧的电缆建筑(Version 223,从2018年2月开始),即包装的2.7版。 在Sald 2,, 是关键词,不是功能,因此,,“建筑pywin32”是有效的Sharm2代码,但坠毁于Sharm3。

我只能假设,该版本在某个时候被标为对六氯环己烷的ok,但我不知道该版本是否是有意的还是意外的。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签