0% found this document useful (0 votes)
30 views

Install

Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Install

Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Data\WorkSpace> python
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> quit
Use quit() or Ctrl-Z plus Return to exit
>>> ^Z
PS C:\Data\WorkSpace> python -m pip install fyers_api
Collecting fyers_api
Using cached fyers_api-1.0.9-py3-none-any.whl (5.3 kB)
Collecting tornado
Collecting requests
Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.1-py2.py3-none-any.whl (136 kB)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Installing collected packages: tornado, urllib3, chardet, idna, certifi, requests,
fyers-api
Successfully installed certifi-2020.11.8 chardet-3.0.4 fyers-api-1.0.9 idna-2.10
requests-2.25.0 tornado-6.1 urllib3-1.26.1
WARNING: You are using pip version 20.2.1; however, version 20.2.4 is available.
You should consider upgrading via the 'C:\Program Files\Python38\python.exe -m pip
install --upgrade pip' command.
PS C:\Data\WorkSpace> python -m pip install trudata_ws
ERROR: Could not find a version that satisfies the requirement trudata_ws (from
versions: none)
ERROR: No matching distribution found for trudata_ws
WARNING: You are using pip version 20.2.1; however, version 20.2.4 is available.
You should consider upgrading via the 'C:\Program Files\Python38\python.exe -m pip
install --upgrade pip' command.
PS C:\Data\WorkSpace> python -m pip install truedata_ws
Using cached truedata_ws-1.0.1-py3-none-any.whl (28 kB)
Collecting pandas>=1.0.3
Using cached pandas-1.1.4-cp38-cp38-win_amd64.whl (8.9 MB)
Collecting python-dateutil>=2.8.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting websocket-client>=0.57.0
Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
Collecting colorama>=0.4.3
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting pytz>=2017.2
Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting numpy>=1.15.4
Using cached numpy-1.19.4-cp38-cp38-win_amd64.whl (13.0 MB)
Collecting six>=1.5
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: pytz, six, python-dateutil, numpy, pandas,
websocket-client, colorama, truedata-ws
Successfully installed colorama-0.4.4 numpy-1.19.4 pandas-1.1.4 python-dateutil-
2.8.1 pytz-2020.4 six-1.15.0 truedata-ws-1.0.1 websocket-client-0.57.0
WARNING: You are using pip version 20.2.1; however, version 20.2.4 is available.
You should consider upgrading via the 'C:\Program Files\Python38\python.exe -m pip
install --upgrade pip' command.
PS C:\Data\WorkSpace> python C:\Data\WorkSpace\AITrade.py
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "C:\Data\WorkSpace\AITrade.py", line 3, in <module>
import TDConnect
File "C:\Data\WorkSpace\TDConnect.py", line 1, in <module>
from truedata_ws.websocket.TD import TD
File "C:\Program Files\Python38\lib\site-packages\truedata_ws\__init__.py", line
1, in <module>
from . import websocket
File "C:\Program Files\Python38\lib\site-packages\truedata_ws\websocket\
__init__.py", line 1, in <module>
from . import TD
File "C:\Program Files\Python38\lib\site-packages\truedata_ws\websocket\TD.py",
line 1, in <module>
from websocket import WebSocketApp, create_connection
File "C:\Program Files\Python38\lib\site-packages\websocket\__init__.py", line
22, in <module>
from ._abnf import *
File "C:\Program Files\Python38\lib\site-packages\websocket\_abnf.py", line 34,
in <module>
import numpy
File "C:\Program Files\Python38\lib\site-packages\numpy\__init__.py", line 305,
in <module>
_win_os_check()
File "C:\Program Files\Python38\lib\site-packages\numpy\__init__.py", line 302,
in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Program Files\\Python38\\lib\\
site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in
the windows runtime. See this issue for more information:
https://tinyurl.com/y3dm3h86
PS C:\Data\WorkSpace>

You might also like