python-build-standalone icon indicating copy to clipboard operation
python-build-standalone copied to clipboard

Issue with build cpython-3.8 on windows 10

Open TanyRay opened this issue 5 years ago • 2 comments

Hi, I try to build cpython-3.8 on Windows 10 and got the issue:

Traceback (most recent call last):
  File "build.py", line 22, in <module>
    from pythonbuild.utils import (
  File "C:\Work\python-build-standalone\pythonbuild\utils.py", line 15, in <module>
    import zstandard
  File "C:\Work\python-build-standalone\build\venv\lib\site-packages\zstandard\__init__.py", line 36, in <module>
    import zstd
ModuleNotFoundError: No module named 'zstd'

Could someone suggest what to do?

TanyRay avatar Jul 31 '20 13:07 TanyRay

I'm not sure why this isn't working. Try removing the build/venv directory and trying again.

indygreg avatar Aug 23 '20 01:08 indygreg

When I had this same problem I fixed it by deleting everything and trying again. It was some kind of conflict between 32 bit and 64 bit binaries, I think.

That was on Mac though.

prescod avatar Nov 10 '21 01:11 prescod