Proposed solution:
Try to run this command from the system terminal. Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located at ‘C:\Users\valky\PycharmProjects\pythonProject1\venv\Scripts\python.exe’.
Comand output
Collecting tqsdk
Using cached tqsdk-2.2.0-cp39-cp39-win_amd64.whl (3.1 MB)
Requirement already satisfied: simplejson in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (3.17.2)
Requirement already satisfied: websockets>=8.1 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (8.1)
Requirement already satisfied: certifi in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (2020.12.5)
Requirement already satisfied: scipy in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (1.5.4)
Requirement already satisfied: pyjwt in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (1.7.1)
Requirement already satisfied: requests in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (2.25.0)
Requirement already satisfied: shinny-structlog in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (0.0.4)
Requirement already satisfied: numpy in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (1.19.4)
Collecting aiohttp
Using cached aiohttp-3.7.3-cp39-cp39-win_amd64.whl (633 kB)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (5.1.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (3.0.1)
Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (3.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (1.6.3)
Requirement already satisfied: attrs>=17.3.0 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (20.3.0)
Requirement already satisfied: typing-extensions>=3.6.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (3.7.4.3)
Collecting pandas>=0.24.0
Using cached pandas-1.1.5-cp39-cp39-win_amd64.whl (8.9 MB)
Requirement already satisfied: numpy in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (1.19.4)
Requirement already satisfied: python-dateutil>=2.7.3 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from pandas>=0.24.0->tqsdk) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from pandas>=0.24.0->tqsdk) (2020.4)
Collecting psutil
Using cached psutil-5.7.3.tar.gz (465 kB)
Requirement already satisfied: six>=1.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from python-dateutil>=2.7.3->pandas>=0.24.0->tqsdk) (1.15.0)
Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (3.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from requests->tqsdk) (1.26.2)
Requirement already satisfied: certifi in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from requests->tqsdk) (2.10)
Requirement already satisfied: numpy in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from tqsdk) (1.19.4)
Requirement already satisfied: idna<3,>=2.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from requests->tqsdk) (2.10)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\valky\pycharmprojects\pythonproject1\venv\lib\site-packages (from aiohttp->tqsdk) (5.1.0)
Using legacy ‘setup.py install’ for psutil, since package ‘wheel’ is not installed.
Installing collected packages: psutil, pandas, aiohttp, tqsdk
Running setup.py install for psutil: started
Running setup.py install for psutil: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\valky\PycharmProjects\pythonProject1\venv\Scripts\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘C:\\Users\\valky\\AppData\\Local\\Temp\\pip-install-wow0izkr\\psutil_29bffd4ba3374f2fa7ccd547dfd7cd72\\setup.py'”‘”‘; __file__='”‘”‘C:\\Users\\valky\\AppData\\Local\\Temp\\pip-install-wow0izkr\\psutil_29bffd4ba3374f2fa7ccd547dfd7cd72\\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\valky\AppData\Local\Temp\pip-record-tpju3r06\install-record.txt’ –single-version-externally-managed –compile –install-headers ‘C:\Users\valky\PycharmProjects\pythonProject1\venv\include\site\python3.9\psutil’
cwd: C:\Users\valky\AppData\Local\Temp\pip-install-wow0izkr\psutil_29bffd4ba3374f2fa7ccd547dfd7cd72\
Complete output (41 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\psutil
copying psutil\_common.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_compat.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_psaix.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_psbsd.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_pslinux.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_psosx.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_psposix.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_pssunos.py -> build\lib.win-amd64-3.9\psutil
copying psutil\_pswindows.py -> build\lib.win-amd64-3.9\psutil
copying psutil\__init__.py -> build\lib.win-amd64-3.9\psutil
creating build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\runner.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_aix.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_bsd.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_connections.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_contracts.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_linux.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_memleaks.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_misc.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_osx.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_posix.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_process.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_sunos.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_system.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_testutils.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_unicode.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\test_windows.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\__init__.py -> build\lib.win-amd64-3.9\psutil\tests
copying psutil\tests\__main__.py -> build\lib.win-amd64-3.9\psutil\tests
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building ‘psutil._psutil_windows’ extension
VisualStudio is not installed; get it from http://www.visualstudio.com/en-au/news/vs2015-preview-vs
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\valky\PycharmProjects\pythonProject1\venv\Scripts\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘C:\\Users\\valky\\AppData\\Local\\Temp\\pip-install-wow0izkr\\psutil_29bffd4ba3374f2fa7ccd547dfd7cd72\\setup.py'”‘”‘; __file__='”‘”‘C:\\Users\\valky\\AppData\\Local\\Temp\\pip-install-wow0izkr\\psutil_29bffd4ba3374f2fa7ccd547dfd7cd72\\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\valky\AppData\Local\Temp\pip-record-tpju3r06\install-record.txt’ –single-version-externally-managed –compile –install-headers ‘C:\Users\valky\PycharmProjects\pythonProject1\venv\include\site\python3.9\psutil’ Check the logs for full command output.