-
Notifications
You must be signed in to change notification settings - Fork 135
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
parcels_get_examples on windows #533
Comments
I'm not sure. How is this done on appveyor? |
I'd think that https://github.com/OceanParcels/parcels/blob/master/appveyor.yml has all necessary steps. But it builds and installs locally and not from the conda-forge package. Maybe the |
Yes indeed. In the automatic tests, they install parcels dependencies, checkout last version, install the setup.py that write an exe file into a build directory. So conda does not run any |
Steps I'd take to Isolate the problem:
|
It does. Or it uses pip. I'm not sure. |
See https://github.com/conda-forge/parcels-feedstock/blob/master/recipe/meta.yaml On conda forge, a wheel is built with the setup.py and then this is installed with pip. |
So let's find out how to add a test to the recipe that runs |
Thanks! I haven't fully understood all the processes within the meta.yaml, but now I know where to search! I'll have a look in the next few days and come back here. |
See https://conda-forge.org/docs/testing.html#simple-existence-testing-example for how to add arbitrary commands to the test section of the meta.yaml |
I just checked on a windows machine, and the error is
Googling didn't really help, I fear. Much about spaces in directory names (e.g. pypa/pip#2783), but that doesn't seem to be the issue here The good news, though, is that I found a relatively easy workaround
Shall we add a note to the installation instructions on oceanparcels.org to suggest this workaround on Windows? |
This has now been fixed |
Hi @willirath,
All the students installing Parcels on a Windows machine are coming to me with the same problem. They can't download the examples using the command:
parcels_get_examples parcels_examples
So far, I was bypassing the problems by running manually
python get_examples.py example_dir
within the env directory of conda. There should be a correct way to run this, no? Do you know what am I missing ?Thanks!
The text was updated successfully, but these errors were encountered: