Skip to content

Trouble running on Windows pypiwin32 win32com.client #38

Open
@github-account1111

Description

@github-account1111

This should take care of all prereqs:

conda create -n tag -c anaconda -c conda-forge clint pyreadline colorama pip
conda activate tag
python -m pip install --upgrade pypiwin32

However, running the script (python .\__init__.py) throws the following error:

Could not find Python module "win32com.client".
Please install it, e.g., with "sudo pip install pypiwin32".

conda list prints the following:

args                      0.1.0           pyhd8ed1ab_1004    conda-forge
ca-certificates           2020.10.14                    0    anaconda
certifi                   2020.6.20                py38_0    anaconda
clint                     0.5.1                      py_1    conda-forge
colorama                  0.4.4                      py_0    anaconda
openssl                   1.1.1h               he774522_0    anaconda
pip                       20.2.4                   py38_0    anaconda
pypiwin32                 223                      pypi_0    pypi
pyreadline                2.1                      py38_1    anaconda
python                    3.8.5                h5fd99cc_1    anaconda
pywin32                   303                      pypi_0    pypi
setuptools                50.3.0           py38h9490d1a_1    anaconda
sqlite                    3.33.0               h2a8f88b_0    anaconda
vc                        14.1                 h0510ff6_4    anaconda
vs2015_runtime            14.16.27012          hf0eaf9b_3    anaconda
wheel                     0.35.1                     py_0    anaconda
wincertstore              0.2                      py38_0    anaconda
zlib                      1.2.11           vc14h1cdd9ab_1  [vc14]  anaconda

which I think has everything needed.
I notice it lists both pypiwin32 and pywin32.
Could that be the issue?
I definitely didn't install pywin32, I think pip did it on its own when I installed pypiwin32.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions