The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by iri]

Hello again,
Could you tell me if python can run differently in different PCs? I
mean, I have the same program in python that runs in 3 different servers (NT).
In two of them it runs properly, in the third one it doesn't. There could be
any hardware requirement or... I don't know... anything special that somehow
is changeing the behaviour of the program??
Thank you very much...

Irantzu
import-bot (20211) [Avatar] Offline
#2
Re: Python in different PCs
[Originally posted by d. harms]

> Hello again,
> Could you tell me if python can run differently in different PCs? I
> mean, I have the same program in python that runs in 3 different servers (NT).
> In two of them it runs properly, in the third one it doesn't. There could be
> any hardware requirement or... I don't know... anything special that somehow
> is changeing the behaviour of the program??
> Thank you very much...
>
> Irantzu

Hi Irantzu,

In general, you should usually get the same behavior for most python programs
when run on different machines with the same OS.

However, there are a number of things that could cause you to see this
different behavior on the third machine.

The most likely would be it missing or having a different version of a python
module file or file system data file that you are using in your program.

Daryl