質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Cygwin

Cygwinは、Unixのような環境を、Windows上で構築させるコマンドラインインターフェースです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

1回答

3122閲覧

cygwin上でwin32comをインストールする方法

jazzmaster

総合スコア26

Cygwin

Cygwinは、Unixのような環境を、Windows上で構築させるコマンドラインインターフェースです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2022/01/05 03:19

$ pip install win32com.client ERROR: Could not find a version that satisfies the requirement win32com.client (from versions: none) ERROR: No matching distribution found for win32com.client
$ pip install pywin32 ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none) ERROR: No matching distribution found for pywin32
$ pip install pypiwin32 Collecting pypiwin32 Using cached pypiwin32-223-py3-none-any.whl (1.7 kB) Using cached pypiwin32-219.zip (4.8 MB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.8.exe -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-63m3t4ek/pypiwin32_aa31cc115c184c76bdb9d09d6077dabd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-63m3t4ek/pypiwin32_aa31cc115c184c76bdb9d09d6077dabd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-zi85ys2q cwd: /tmp/pip-install-63m3t4ek/pypiwin32_aa31cc115c184c76bdb9d09d6077dabd/ Complete output (6 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-63m3t4ek/pypiwin32_aa31cc115c184c76bdb9d09d6077dabd/setup.py", line 121 print "Building pywin32", pywin32_version ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Building pywin32", pywin32_version)? WARNING: Discarding https://files.pythonhosted.org/packages/2b/ca/5c086c18de8f70222787b3e824e755b68d99272531522e77bb381d4f60c8/pypiwin32-219.zip#sha256=06d478295c89dbdd4187e1ac099bb8eab93c29e298bded4e2fbc77009287fa44 (from https://pypi.org/simple/pypiwin32/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none) ERROR: No matching distribution found for pywin32>=223

win32com.clientだけでなくpywin32やpypiwin32でも試したのですが
うまくいかずに困っています。cygwin上でwin32com.clientを使用している方がおりましたら
解決方法をご教示いただきたく思います。
何卒よろしくお願いいたします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

それらのライブラリは、Windowsネイティブで動くPython専用なのではないでしょうか?

投稿2022/01/05 03:47

maisumakun

総合スコア145184

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問