Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Visual C++ 14.0 is required #93

Open
arossert opened this issue May 16, 2020 · 3 comments · May be fixed by #112
Open

Microsoft Visual C++ 14.0 is required #93

arossert opened this issue May 16, 2020 · 3 comments · May be fixed by #112

Comments

@arossert
Copy link

I'm trying to install pcapy module that needs compilation and I'm getting this error:

Installing collected packages: pcapy
    Running setup.py install for pcapy ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\users\\root\\Temp\\pip-install-cb7a8mfd\\pcapy\\setup.py'"'"'; __file__='"'"'C:\\users\\root\\Temp\\pip-install-cb7a8mfd\\pcapy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\users\root\Temp\pip-record-37_jainp\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\Python37\Include\pcapy'
         cwd: C:\users\root\Temp\pip-install-cb7a8mfd\pcapy\
    Complete output (5 lines):
    running install
    running build
    running build_ext
    building 'pcapy' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------

I have tried to install it manually but with no success, can this be done?

@wanyujiang
Copy link

I have the same question with you, did you solve the problem?

@arossert
Copy link
Author

Unfortunately I couldn’t solve it.
I just pre-complied the problematic modules and uploaded them to internal PYPI repo.

@libra146
Copy link

run docker run -v "$(pwd):/src/" --rm -it --entrypoint /bin/bash cdrx/pyinstaller-windows:python3 -c "python -m pip install --upgrade pip && /entrypoint.sh" to update pip,then I solved the problem.

@white-gecko white-gecko linked a pull request Aug 10, 2021 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants