Anaconda: Where and how to install a non-distribution package to support a flask-wtf conda recipe?

gromiczek

I'm trying with little success to build and install conda packages in for envs in the Anaconda python distribution. Right now I'm trying to build a package for flask-wtf. I copied the .bat, .sh, and .yaml recipe files from Continuum IO's recipe. The files are in a directory named flask-wtf on my desktop, and I ran conda build flask-wtf on it. It returned the message: Error: No packages found matching: wtforms. I do not have wtforms installed anywhere, so now I have two questions:

1) If I install wtforms do I have to install it globally, or can I keep it in the relevant conda env? 2) If I install wtforms from a tarball do I have to keep that tarball file around for later installs into other envs?

Thanks for your help and clarification!

asmeurer

The only way that conda build will see dependencies is if they also exist as conda packages. So you need to build the conda package for wtforms as well. Fortunately, the recipe for this exists in the conda-recipes as well, so you can just clone that repo and do

conda build wtforms
conda build flask

This works because conda is able to find the packages that it has already built. To make sure that they don't get lost if you delete the build directory, it's recommended to upload your packages to Binstar. If you do that and conda install binstar, after you build, it will ask you if you want to upload the package to binstar. If you do that, and also add your Binstar repo to your .condarc, those packages will always be available for you to conda install.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

anaconda/conda - install a specific package version

From Dev

anaconda/conda - install a specific package version

From Dev

How to install package in anaconda?

From Dev

Python conda - How to upgrade package not available on anaconda

From Dev

How to install Anaconda in virtual environment of conda.

From Dev

How to install a binstar package in Anaconda?

From Dev

How to install Rodeo IDE in Anaconda python distribution?

From Dev

Anaconda conda install error when installing tradingwithpython package

From Dev

Anaconda: Install local binary package to conda environment in Windows

From Dev

How to install PyPi packages using anaconda conda command

From Dev

How to pass a "WTF object" in Flask

From Dev

Where to install Anaconda?

From Dev

Anaconda linux install: conda: command not found

From Dev

Install python-igraph with the anaconda distribution (windows)

From Dev

Install python-igraph with the anaconda distribution (windows)

From Dev

Can't install Mayavi on Anaconda distribution

From Dev

Conda update conda does extra stuff and destroy my anaconda install

From Java

How does using conda to install a package change my python version and remove conda?

From Dev

How render a Flask WTF HTML 5 widget?

From Java

How can I install pandas 1.1.0 on Mac under anaconda and get past conda hanging on "Solving environment"

From Dev

How do I install libsvm in a conda environment so that I can import svm in anaconda?

From Dev

How to `conda install ipython`?

From Dev

How to install Anaconda on Ubuntu?

From Dev

Yocto Error: "non debug package contains .debug directory" with yocto recipe

From Dev

Yocto recipe : how to install in specific folder

From Dev

Couldn't update to python 3.5 using the conda package by anaconda

From Dev

Couldn't update to python 3.5 using the conda package by anaconda

From Dev

install issue with python - spacy package in anaconda environment

From Dev

Cannot install kenlm package in anaconda environment

Related Related

  1. 1

    anaconda/conda - install a specific package version

  2. 2

    anaconda/conda - install a specific package version

  3. 3

    How to install package in anaconda?

  4. 4

    Python conda - How to upgrade package not available on anaconda

  5. 5

    How to install Anaconda in virtual environment of conda.

  6. 6

    How to install a binstar package in Anaconda?

  7. 7

    How to install Rodeo IDE in Anaconda python distribution?

  8. 8

    Anaconda conda install error when installing tradingwithpython package

  9. 9

    Anaconda: Install local binary package to conda environment in Windows

  10. 10

    How to install PyPi packages using anaconda conda command

  11. 11

    How to pass a "WTF object" in Flask

  12. 12

    Where to install Anaconda?

  13. 13

    Anaconda linux install: conda: command not found

  14. 14

    Install python-igraph with the anaconda distribution (windows)

  15. 15

    Install python-igraph with the anaconda distribution (windows)

  16. 16

    Can't install Mayavi on Anaconda distribution

  17. 17

    Conda update conda does extra stuff and destroy my anaconda install

  18. 18

    How does using conda to install a package change my python version and remove conda?

  19. 19

    How render a Flask WTF HTML 5 widget?

  20. 20

    How can I install pandas 1.1.0 on Mac under anaconda and get past conda hanging on "Solving environment"

  21. 21

    How do I install libsvm in a conda environment so that I can import svm in anaconda?

  22. 22

    How to `conda install ipython`?

  23. 23

    How to install Anaconda on Ubuntu?

  24. 24

    Yocto Error: "non debug package contains .debug directory" with yocto recipe

  25. 25

    Yocto recipe : how to install in specific folder

  26. 26

    Couldn't update to python 3.5 using the conda package by anaconda

  27. 27

    Couldn't update to python 3.5 using the conda package by anaconda

  28. 28

    install issue with python - spacy package in anaconda environment

  29. 29

    Cannot install kenlm package in anaconda environment

HotTag

Archive