Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Installing error C1083 #91

Open
YFrite opened this issue Sep 20, 2021 · 2 comments
Open

Installing error C1083 #91

YFrite opened this issue Sep 20, 2021 · 2 comments

Comments

@YFrite
Copy link

YFrite commented Sep 20, 2021

I am trying to install Dalle-pytorch by pip install dalle-pytorch

This error appears:

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Yfrite\pyProjects\NeuronV3\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Yfrite\\AppData\\Local\\Temp\\pi
p-install-at033d8j\\youtokentome_9c7e7301731e491f94b6a757b6847abf\\setup.py'"'"'; __file__='"'"'C:\\Users\\Yfrite\\AppData\\Local\\Temp\\pip-install-at033d8j\\youtokentome_9c7e7301731e491
f94b6a757b6847abf\\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'"'"'))' install --record 'C:\Users\Yfrite\AppData\Local\Temp\pip-record-dj18nu59\install-r
ecord.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Yfrite\pyProjects\NeuronV3\venv\include\site\python3.9\youtokentome'
         cwd: C:\Users\Yfrite\AppData\Local\Temp\pip-install-at033d8j\youtokentome_9c7e7301731e491f94b6a757b6847abf\
    Complete output (22 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.9
    creating build\lib.win-amd64-3.9\youtokentome
    copying youtokentome\youtokentome.py -> build\lib.win-amd64-3.9\youtokentome
    copying youtokentome\yttm_cli.py -> build\lib.win-amd64-3.9\youtokentome
    copying youtokentome\__init__.py -> build\lib.win-amd64-3.9\youtokentome
    running build_ext
    building '_youtokentome_cython' extension
    creating build\temp.win-amd64-3.9
    creating build\temp.win-amd64-3.9\Release
    creating build\temp.win-amd64-3.9\Release\youtokentome
    creating build\temp.win-amd64-3.9\Release\youtokentome\cpp
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Yfrite\pyProjects\Neuron
V3\venv\include -IC:\Users\Yfrite\AppData\Local\Programs\Python\Python39\include -IC:\Users\Yfrite\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual
 Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um /EHsc /Tpyoutokentome/cpp/bpe.cpp /Fobuild\temp.win-amd64-3.9\Relea
se\youtokentome/cpp/bpe.obj -std=c++11 -pthread -O3
    cl: Є®¬ ¤ п бва®Є  warning D9002: Їа®ЇгбЄ ҐЁ§ўҐбв®Ј® Ї а ¬Ґва  "-std=c++11"
    cl: Є®¬ ¤ п бва®Є  warning D9002: Їа®ЇгбЄ ҐЁ§ўҐбв®Ј® Ї а ¬Ґва  "-pthread"
    cl: Є®¬ ¤ п бва®Є  warning D9002: Їа®ЇгбЄ ҐЁ§ўҐбв®Ј® Ї а ¬Ґва  "-O3"
    bpe.cpp
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\cstddef(12): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о票Ґ: stddef.h: No such f
ile or directory,
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    ----------------------------------------
@YFrite
Copy link
Author

YFrite commented Sep 20, 2021

OS: Windows 10
python: 3.8

@GuardianDead
Copy link

Good one

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants