With does it install kivy in the anaconda environment on mac os x10.9?

0

I have tried to install as per the instruction: link

Error:

  

(most recent call last): File "", line 1, in File   "/Users/cicerozanoni/anaconda/envs/kivy/lib/python2.7/site-packages/spyderlib/wi dgets / externalshell / sitecustomize.py", line 580, in runfile execfile (filename, namespace) File   "/Users/cicerozanoni/Documents/Python/Kivy/examples/widgets/label_text_size.py",   line 10, in import kivy ImportError: No module named kivy

Unsuccessful. I already tried to change the link to the environment created in the anaconda and nothing ... does anyone have any tips?

Thank you.

    
asked by anonymous 20.07.2015 / 03:25

1 answer

0

If you have anaconda, you will need to install the anaconda. If you have anaconda, you will need to install the anaconda. is even kivy, should work, see the steps:

Search anacoda:

$ anaconda search kivy
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms      
     ------------------------- |   ------ | --------------- | ---------------
     Judowill/kivy             |    1.8.0 | conda           | linux-64       
                                          : A software library for rapid development of hardware-accelerated multitouch applications.
     akode/kivy                |    1.9.1 | conda           | osx-64         
     auto/kivy-garden          |    0.1.1 | conda           | linux-64       
                                          : http://kivy-garden.github.io/
     krisvanneste/kivy         |    1.8.0 | conda           | win-64         
     krisvanneste/kivy-garden  |    0.1.2 | conda           | win-64         
     moritzimend/kivy          |      1.9 | conda           | linux-64       
                                          : latest development version of kivy
     pypi/Kivy                 |    1.8.0 | pypi            |                
                                          : A software library for rapid development of hardware-accelerated multitouch applications.
     pypi/kivy-garden          |    0.1.2 | pypi            |                
                                          : Kivys Garden tool to manage extensions for kivy framework.
     wgarcia/kivy              |    1.9.1 | conda           | linux-64       
Found 9 packages

Look at the akode/kivy package, now let's get information on how to install it:

$ anaconda show akode/kivy
Using Anaconda API: https://api.anaconda.org
Name:    kivy
Summary:                                                                                                                                     
Access:  public                                                                                                                              
Package Types:  conda                                                                                                                        
Versions:                                                                                                                                    
   + 1.9.1                                                                                                                                   

To install this package with conda run:                                                                                                      
     conda install --channel https://conda.anaconda.org/akode kivy

Creating a kivy environment:

conda create -n kivy python=3.6

Installing kivy:

$ source activate kivy
(kivy)~$ conda install --channel https://conda.anaconda.org/akode kivy

Install the other packages, most of them you can use the pip.

    
02.08.2017 / 21:58