Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using numpy via miniconda #4

Open
almarklein opened this issue Nov 21, 2014 · 4 comments
Open

Using numpy via miniconda #4

almarklein opened this issue Nov 21, 2014 · 4 comments

Comments

@almarklein
Copy link

Hi Olivier,

Thanks for this! I used your example to set up Appveyor for imageio.

I need numpy to run the test suite, so I made some changes to use miniconda and install numpy into it. The current code had a python_version -qt '3.4' in there, but the Python version was '3.4.4'. So it always used Python 2.7. Further I had to change the Paths (c:\python2.7`), because some of them already exist and miniconda won't get installed.

@ogrisel
Copy link
Owner

ogrisel commented Nov 21, 2014

Glad you found this useful.

I don't understand your comment about python_version -qt '3.4', can you be more specific?

@almarklein
Copy link
Author

Sorry, I meant the if ($python_version -eq "3.4") here: https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor/install.ps1#L99 Which never gets triggered because in appveyor.yml it says PYTHON_VERSION: "3.4.1"

I suppose it does not matter for your demo since it uses the Python MSI's, but it does when one uses miniconda :)

@ogrisel
Copy link
Owner

ogrisel commented Nov 22, 2014

Indeed I get it, that has changed and I did not retest the miniconda method in the mean time. I don't have anypowershell at hand to test, do you know a conditional expression that would work?

@almarklein
Copy link
Author

Hehe, I am not familiar with powershell, so I just ditched the last character in the definition of PYTHON_VERSION in appveyor.yml. I suppose that would make my repo incompatible with Python's MSI's.

This was not so much a "please fix this", but more of a "if you want to use miniconda, here's a working example".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ogrisel @almarklein and others