GithubHelp home page GithubHelp logo

Comments (4)

Avasam avatar Avasam commented on August 17, 2024 2

@smanross that has been resolved in #2113 but isn't released yet.

If you need it, you can look at artefacts from the "CI" action: https://github.com/mhammond/pywin32/actions/workflows/main.yml?query=is%3Asuccess+branch%3Amain

from pywin32.

Avasam avatar Avasam commented on August 17, 2024

@tangyinqi Do you have the full error log? The tests do run the install script on Python 3.12 (although not in debug mode), so I'm tempted to say it's likely an issue with your environment.

matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev']
architecture: ['x64', 'x86']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Setup environment
run: |
python --version
pip --version
pip install --upgrade setuptools wheel
- name: Build and install
run: |
python setup.py --skip-verstamp install --user

distutils was removed in python 3.12, which was still used in setup.py. So is that the reason?

setuptools stills vendors and patches-in distutils. So no I don't think so.

from pywin32.

smanross avatar smanross commented on August 17, 2024

minor note as I was searching for bug notes before filing one as I found an issue in 306 using Python 3.12 on Windows... the imp module has been deprecated

imp is used in win32comext\axscript\client\pyscript.py at line 213 (in 306)

from pywin32.

Avasam avatar Avasam commented on August 17, 2024

Both #2169 and #2113 are merged.
The error shown by OP looks like issues related to missing the proper build tools on their environment. Please read https://github.com/mhammond/pywin32/blob/main/build_env.md .

If you still have this issue, please provide a complete log.

from pywin32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.