I'm new IT and programming; I been struggling to install mod_wsgi with pip
Example in cmd:
pip install mod_wsgi
I been trying to lunch my django project on my own pc acting as a server
I'm using Apcache 24 and my PC is windows 10, 64bits
My python is 3.7.1 and Django is 2.1.3
Solution I had try:
error:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
I had check and and intsall the C++ 14 here the link where I download: https://www.microsoft.com/en-gb/download/details.aspx?id=48145
- download and install manually
https://github.com/sammchardy/python-binance/issues/148#issuecomment-374853521
error:
C:\Users\user>pip install C:/mod_wsgi-4.5.24+ap24vc14-cp37-cp37m-win_amd64.rar
Invalid requirement: 'C:/mod_wsgi-4.5.24+ap24vc14-cp37-cp37m-win_amd64.rar'
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 93, in __init__
req = REQUIREMENT.parseString(requirement_string)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1654, in parseString
raise exc
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1644, in parseString
loc, tokens = self._parse( instring, 0 )
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1402, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3417, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 1406, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\pyparsing.py", line 3205, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 1), (line:1, col:2)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\req\constructors.py", line 253, in install_req_from_line
req = Requirement(req)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\pip\_vendor\packaging\requirements.py", line 96, in __init__
requirement_string[e.loc:e.loc + 8], e.msg
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "':/mod_ws'": Expected stringEnd
error:
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120
----------------------------------------
Command "c:\users\user\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-f9igth3o\\mod-wsgi\\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\user\AppData\Local\Temp\pip-record-kmcbksbk\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-f9igth3o\mod-wsgi\
and yes hd VC10 install to had this error, here the link https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017
In advance thank you for your help, apprentice it