SolarFactories SolarFactories - 4 months ago 41
Python Question

Atom portable - python not found

I have atom portable in a local folder, however python and my project are on a networked drive. Atom gives me the error:

(Networked directory)

CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
'python' is not recognized as an internal or external command,
operable program or batch file.


How would I make it so that it can find python?

Answer

The answer which worked for me was just to create a bat file in the directory within which I wished to open atom. The bat file was:

setlocal
set PATH=%PATH%;C:\Python33
"...\AtomPortable\App\Atom\atom.exe"
endlocal
Comments