Currently I am using anaconda 3 with python version 3.6.4 and want to replicate the same environment(with all dependent libraries) in a remote desktop.
The remote server doesn't have internet connection, is there any way to take a back up of my local anaconda and set it up in the remote Desktop. I can send back up of files(In case backed up) to the remote server.
Note :: Both my desktop and remote desktop is running on windows 10
Related
I have right now a node.js backend where I'm spawning a Python child_process. The Python file executes successfully and returns the data correctly. However in production, the node.js backend will run on a linux server and the python script needs to be run in a Windows environment.
Is there any possible way to spawn the python process directly on a Windows Virtual Machine instead of the current server? If not, what would be possible alternatives besides using a Windows server for node.js?
I don't think, that in this case the versions really matter, but here they are:
node.js 12.16.2
Python: 3.8.2
Linux server: Ubuntu
How can I easily copy a local file to a remote server using python?
I don't want to map the drive to my local machine and the windows server requires a username and password.
The local machine is also a windows machine.
Examples I've seen are with linux and mapping the drive. Unfortunately that's not an option for me.
You can use the subprocess module or os.system to launch a command into a windows shell. Then you can use Powershell or cmd instructions.
I'm trying to connect pycharm 2016.2 professional to remote python interpreter via docker. I have docker for windows version 1.12.0-rc2-beta20 (the one that uses hyper-v on windows 10; not virtualbox). In pycharm, there's dialog that asks for the docker API URL which is by default populated with: https://192.168.99.100:2376
But that doesn't connect. I also tried localhost:2376 and 10.0.75.0:2376 (10.0.75.0 is the internal IP for vEthernet (DockerNAT)) and they do not work. Is the integration just not supported with the non-virtualbox docker or am I entering the wrong thing?
I would like to connect to my raspberry pi using a remote interpreter. I've managed to do it just fine in windows 7 using Pycharm, but having recently upgrading to windows 8.1 it no longer works. I've tried to connect to the raspberry pi (where it worked in win 7) and another one with a fresh install of Raspbian (released 09-09-2014).
I also tried through Ubuntu, but to no avail. Has anyone out there managed to get this right in windows 8 or any linux flavour?
Should I try a key pair (OpenSSH or PuTTY)?
After adding the RSA key to the repository, the process that hangs is
'Getting remote interpreter version' ~ 'Connecting to 10.0.0.98'
It works in PyCharm if you deploy a remote SFTP server.
Tools > Deployment > Add > Enter name and SFTP >
Enter host, port, root path (I said "/" without quotes) username and password.
Then, when creating a new project, change your interpreter to 'Deployment Configuration', and select your SFTP server.
Press OK, then create.
You should be all set to go.
I need to run a process inside a windows host from a linux host using python.
I saw WMI python library but seems to work only from a windows host, not linux, how can I do?
I neeed something like PSEXEC, but it works only for windows.
Since you cannot install anything on the windows host, does it have openoffice, or libreoffice installed?
You coult then use the Python interpreter bundled with it to create a python script that listens to xmlrpc and get you job done, controling this script remotely.
If there is no Python installed on the windows side, and yur remote host is Linux, there is this recipe here: http://code.activestate.com/recipes/577945-execute-remote-commands-on-windows-like-psexec/
It does depend on windows - as it imports win32wnet - in my experience, these windows specific modules will run fine in a Windows python installed on a Wine configuration on a Linux machinne.
An easy solution is to run a SSH server on the windows box and use the paramiko library on the client side.