-
Install Python 3.7 64-bit
- download python-3.7.2-amd64.exe
- install, check "Add Python 3.7 to PATH"
-
Install PyRFC
- download pyrfc-1.9.93-cp37-cp37m-win_amd64.whl
- run
pip install Downloads/pyrfc-1.9.93-cp37-cp37m-win_amd64.whl
-
Install SAP NW RFC Library
- download SAP NW RFC SDK 7.50
- extract nwrfc750P_2-70002755.zip
- copy nwrfcsdk to
C:\
- add
C:\nwrfcsdk\lib
to PATH - install Visual C++ runtime for VS2013 x64
-
Test Installation
- run
python -c "import pyrfc"
- if no error showed, then the installation succeed, else logout/reboot and try again
- run
-
Copy "csx" project to
Documents
-
Create virtualenv
pip install virtualenv cd Documents\csx virtualenv venv
-
Activate virtualenv and install libraries
venv\Scripts\activate pip install ..\..\Downloads\pyrfc-1.9.93-cp37-cp37m-win_amd64.whl pip install falcon pip install waitress
-
Run web server
waitress-serve --port=8000 csx.app:api
-
Install PyCharm
- download PyCharm Community 2018.3.2
- install
-
Open PyCharm
- create new project: "csx"
- copy "csx" content to
PycharmProjects\csx
- open terminal tab (Alt+F12), install libraries:
pip list pip install ..\..\Downloads\pyrfc-1.9.93-cp37-cp37m-win_amd64.whl pip install falcon pip install waitress waitress-serve --port=8000 csx.app:api
Hi, could you please provide me a mirror link for nwrfc750P? I can't access it. Thank you!