Closed baditaflorin closed 7 years ago
As the error message says, the module is available only for Python 3. I'm not fluent with Windows, but I think you should use py -3
, not python -3
, to invoke the right interpreter. Also, as there are binary wheels on PyPI, you may install the module using pip
.
C:\Users\florinb>python -3.4 -m pip install python-rapidjson Unknown option: -. usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information.
C:\Users\florinb>python -3 -m pip install python-rapidjson C:\Python27\lib\site-packages\pip_vendor\requests\auth.py:44: DeprecationWarning: Overriding eq blocks inheritance of hash_ class HTTPBasicAuth(AuthBase): C:\Python27\lib\site-packages\pip_vendor\requests\auth.py:73: DeprecationWarning: Overriding eq blocks inheritance of hash_ class HTTPDigestAuth(AuthBase): C:\Python27\lib\site-packages\ipaddress.py:82: DeprecationWarning: Overriding eq blocks inheritance of hash in 3.x class _TotalOrderingMixin(object): Collecting python-rapidjson Using cached python-rapidjson-0.2.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "c:\users\florinb\appdata\local\temp\pip-build-13fr8v\python-rapidjson\setup.py", line 28, in
raise NotImplementedError("Only Python 3+ is supported.")
NotImplementedError: Only Python 3+ is supported.
Command "python setup.py egg_info" failed with error code 1 in c:\users\florinb\appdata\local\temp\pip-build-13fr8v\python-rapidjs