Skip to content

rezonn/python-setup

Repository files navigation

Python 3.7.9 & TensorFlow 2.5.0 portable for Windows 10

system path

as admin

rundll32 sysdm.cpl,EditEnvironmentVariables
  • System variables -> Path -> Edit -> New -> type \Python folder
  • New -> type \Python\Scripts folder

tensorflow

pip install tensorflow==2.5.0
  • Save cudnn64_8.dll to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin

remote build python from macos/linux to windows

  • Win -> Settings -> Apps -> Optional features -> Add feature -> OpenSSH Server, install
  • Press ⊞+R, type services.msc
  • OpenSSH Server -> Properties -> Startup type: automatic, click Start
  • macos/linux terminal: (2060 - windows user name, 192.168.1.4 - windows ip)
ssh-keygen
ssh [email protected]
  • type windows password
cd .ssh
scp id_rsa.pub [email protected]:%programdata%/ssh
cd %programdata%/ssh
type id_rsa.pub >> administrators_authorized_keys
icacls administrators_authorized_keys /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"

(note "Administrators" depend from localiation)

cat hello_world.py  | ssh [email protected] python -

only one python must be

where python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages