Python

Mark Harviston's Avatar

Mark Harviston

12 Jan, 2015 10:32 PM

I'm using the scripts/configuration available here: https://packaging.python.org/en/latest/appveyor.html

In order to test my project [quamash](https://ci.appveyor.com/project/harvimt/quamash/)

I'm getting output that looks like this:

Installing Python 3.4.1 for 32 bit architecture to C:\Python34-x86-PySide
Downloading python-3.4.1.msi from https://www.python.org/ftp/python/3.4.1\python-3.4.1.msi
File saved at C:\projects\quamash\python-3.4.1.msi
Installing C:\projects\quamash\python-3.4.1.msi to C:\Python34-x86-PySide
msiexec.exe /qn /i C:\projects\quamash\python-3.4.1.msi TARGETDIR=C:\Python34-x86-PySide
 
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
15 2 292 1588 8 0.00 2144 msiexec
Python 3.4.1 (32) installation complete
True
Installing pip...
Executing: C:\Python34-x86-PySide\python.exe C:\get-pip.py
Start-Process : This command cannot be run due to the error: The system cannot
find the file specified.

so it downloads the MSI and seems to install it correctly, to the correct TARGETDIR and yet the file C:\Python34-x86-PySide\python.exe does not appear to exist.

Any help is appreciated.

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Jan, 2015 10:56 PM

    Feodor Fitsner's Avatar

    Try running dir C:\Python34-x86-PySide to see what's in there.

  2. 2 Posted by Mark Harviston on 12 Jan, 2015 11:21 PM

    Mark Harviston's Avatar

    dir : Cannot find path 'C:\Python34-x86-PySide' because it does not exist.

    so the directory isn't even being created even though msiexec seems to be working?

    Should I try installing Python to somwhere other than C:\?

  3. Support Staff 3 Posted by Feodor Fitsner on 12 Jan, 2015 11:24 PM

    Feodor Fitsner's Avatar

    No, installing to C:\ shouldn't be a problem. I think the issue is that Python 3.4.1 is already installed on build workers: http://www.appveyor.com/docs/installed-software

    I guess it's installed doesn't support upgrades, so existing one should be uninstalled first.

  4. 4 Posted by Mark Harviston on 13 Jan, 2015 12:08 AM

    Mark Harviston's Avatar

    Oh I actually can just use the pre-installed ones then.
    That'll speed up the builds.

  5. Support Staff 5 Posted by Feodor Fitsner on 13 Jan, 2015 12:10 AM

    Feodor Fitsner's Avatar

    Exactly! :)

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac