Skip to content Skip to sidebar Skip to footer

Conda Skeleton Pypi: Modulenotfounderror: No Module Named 'numpy'

I'm trying to create a conda package from a package I've uploaded to PyPI, by following this tutorial. I've downloaded and installed the latest Anaconda environment for Linux (Ubun

Solution 1:

I suspect that the advice in that GitHub issue is rather outdated. The current version of conda skeleton pypi doesn't really care about the active environment nor does it use _build, but instead creates a temporary environment in which to attempt to install the package and eventually output a recipe. One can add additional requirements to the temporary environment using the --extra-specs flag. In your case, this should be something like

conda skeleton pypi --extra-specs numpy mf2

Post a Comment for "Conda Skeleton Pypi: Modulenotfounderror: No Module Named 'numpy'"