question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Creating a Conda recipe

See original GitHub issue

I propose we get a conda build recipe up for vtki because of the headaches that Windows installations bring:

I’ve been running into trouble making vtki a dependency of my project PVGeo. When I run the Windows CI testing (AppVeyor) for the environment:

Environment: PYTHON_VERSION=3.6, CONDA=C:\Miniconda36; Platform: x86

The setup.py script for vtki tries to add VTK to the dependencies but it is unavailable for that build from pip, only from conda.

Collecting vtk (from vtki>=0.13.0->-r requirements.txt (line 9))
Could not find a version that satisfies the requirement vtk (from vtki>=0.13.0->-r requirements.txt (line 9)) (from versions: )
No matching distribution found for vtk (from vtki>=0.13.0->-r requirements.txt (line 9))

Perhaps we should change the setup.py script to always warn on windows? Or better yet, do you (@akaszynski) know how to setup conda build recipes?

I haven’t been able to figure this out for myself but I beginning to see that conda recipes will be a necessity for projects depending on VTK.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
akaszynskicommented, Jan 9, 2019

The maintainers of vtk put out wheels for most Python/OS combinations, but they’re missing wheels for Windows 32 bit and Python 2.7 for Win64, which is why it can’t be installed using pip. They do, however, maintain conda recipes at vtk-anaconda. I’m going to add a note in the setup file about this and inform the user that if they’re using Windows, they might try using conda.

0reactions
banesullivancommented, Mar 18, 2019

See #127

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conda-build recipes
Building a conda package requires a recipe. A conda-build recipe is a flat directory that contains the following files: meta.yaml ---A file that...
Read more >
How to build Conda packages?
The conda build process · Reads the metadata. · Downloads the source into a cache. · Extracts the source into the source directory....
Read more >
Simple Guide to Conda Packages
Conda -forge is “a community-led collection of recipes, build infrastructure and distributions for the Conda package manager”.
Read more >
Packaging software with conda - IGWN | Computing
A recipe is a collection of files that define how to build a Conda package. Each recipe minimally contains a meta.yaml file that...
Read more >
Conda Packages — The Joy of Packaging 0.1 documentation
Building Conda Packages¶ ; Introducing conda-build¶. Orchestrates environment creation, activation, and build/test processes. Can build conda packages and/or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found