Error Can not pip install ccxt
See original GitHub issue(ver1) PS C:\Users\HOME\django\myproject> pip install ccxt
Collecting ccxt
Using cached ccxt-1.42.48-py2.py3-none-any.whl (2.1 MB)
Collecting cryptography>=2.6.1
Using cached cryptography-3.4.6-cp36-abi3-win_amd64.whl (1.6 MB)
Requirement already satisfied: setuptools>=38.5.1 in c:\users\home\django\ver1\lib\site-packages (from ccxt) (52.0.0)
Collecting requests>=2.18.4
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting certifi>=2018.1.18
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting aiodns<2.1,>=1.1.1
Using cached aiodns-2.0.0-py2.py3-none-any.whl (4.8 kB)
Requirement already satisfied: yarl==1.1.0 in c:\users\home\django\ver1\lib\site-packages (from ccxt) (1.1.0)
Collecting aiohttp<3.8,>=3.7.4
Using cached aiohttp-3.7.4-cp39-cp39-win_amd64.whl (634 kB)
Requirement already satisfied: idna>=2.0 in c:\users\home\django\ver1\lib\site-packages (from yarl==1.1.0->ccxt) (2.10)
Requirement already satisfied: multidict>=4.0 in c:\users\home\django\ver1\lib\site-packages (from yarl==1.1.0->ccxt) (5.1.0)
Collecting pycares>=3.0.0
Using cached pycares-3.1.1.tar.gz (233 kB)
Collecting attrs>=17.3.0
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting async-timeout<4.0,>=3.0
Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting chardet<4.0,>=2.0
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: typing-extensions>=3.6.5 in c:\users\home\django\ver1\lib\site-packages (from aiohttp<3.8,>=3.7.4->ccxt) (3.7.4.3)
Requirement already satisfied: cffi>=1.12 in c:\users\home\django\ver1\lib\site-packages (from cryptography>=2.6.1->ccxt) (1.14.5)
Requirement already satisfied: pycparser in c:\users\home\django\ver1\lib\site-packages (from cffi>=1.12->cryptography>=2.6.1->ccxt) (2.20)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\home\django\ver1\lib\site-packages (from requests>=2.18.4->ccxt) (1.26.3)
Building wheels for collected packages: pycares
Building wheel for pycares (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\HOME\django\ver1\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\HOME\AppData\Local\Temp\pip-wheel-7dro2ftt'
cwd: C:\Users\HOME\AppData\Local\Temp\pip-install-seozupwl\pycares_e36f8fd1553349e9b23e13a4e87d43f7\
Complete output (17 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\pycares
copying src\pycares\errno.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\utils.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\_version.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__init__.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__main__.py -> build\lib.win-amd64-3.9\pycares
running build_ext
generating cffi module 'build\\temp.win-amd64-3.9\\Release\\_cares.c'
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
building '_cares' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for pycares
Running setup.py clean for pycares
Failed to build pycares
Installing collected packages: pycares, chardet, certifi, attrs, async-timeout, requests, cryptography, aiohttp, aiodns, ccxt
Running setup.py install for pycares ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\HOME\django\ver1\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\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\HOME\AppData\Local\Temp\pip-record-g8ytsb7t\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HOME\django\ver1\include\site\python3.9\pycares'
cwd: C:\Users\HOME\AppData\Local\Temp\pip-install-seozupwl\pycares_e36f8fd1553349e9b23e13a4e87d43f7\
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\pycares
copying src\pycares\errno.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\utils.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\_version.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__init__.py -> build\lib.win-amd64-3.9\pycares
copying src\pycares\__main__.py -> build\lib.win-amd64-3.9\pycares
running build_ext
generating cffi module 'build\\temp.win-amd64-3.9\\Release\\_cares.c'
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
building '_cares' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\HOME\django\ver1\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\setup.py'"'"'; __file__='"'"'C:\\Users\\HOME\\AppData\\Local\\Temp\\pip-install-seozupwl\\pycares_e36f8fd1553349e9b23e13a4e87d43f7\\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\HOME\AppData\Local\Temp\pip-record-g8ytsb7t\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HOME\django\ver1\include\site\python3.9\pycares' Check the logs for full command output.
(ver1) PS C:\Users\HOME\django\myproject>
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Ccxt install error · Issue #8219 - GitHub
1 in c:\program files\python39\lib\site-packages (from requests>=2.18.4->ccxt) (1.26.2) Using legacy 'setup.py install' for pycares, since ...
Read more >Constant errors when installing ccxt module in python [duplicate]
As your error message says ModuleNotFoundError: No module named 'cryptography' , I'd try to install that module: pip install cryptography.
Read more >Install — ccxt 2.4.43 documentation
The easiest way to install the ccxt library is to use builtin package managers: ccxt in **NPM** (JavaScript / Node v7.6+); ccxt in...
Read more >ccxt-dev/ccxt - Gitter
@hivemall it is usually pip -e path/to/ccxt/repo/python (ending with the python folder, if you want to install from git, otherwise just run pip...
Read more >ccxt · PyPI
A JavaScript / Python / PHP cryptocurrency trading library with support for ... The easiest way to install the CCXT library is to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok now No error I can install ccxt i do follow this https://stackoverflow.com/questions/64261546/python-cant-install-packages
after install Microsoft C++ Build Tools First Don’t install ccxt but >go to Modify >to install Windows 10 SDK C++ x64/x86 build tools and restart computer and go to pip install ccxt again
Install the Microsoft C++ Build Tools here https://visualstudio.microsoft.com/visual-cpp-build-tools/. After you’ve installed it, restarted your computer and try again.