Anaconda

Why aren't python packages from Anaconda being detected by Blender?

你。 提交于 2019-12-24 15:52:52
问题 I've recently been using Blender to render 3D models of objects and training an SVM to recognize pictures of object taken from some perspective. To train said SVMs I need to use "sklearn", which comes by default with Anaconda. Long story short, I want Blender (which runs Python 3.4.2) to use the packages and modules present in my anaconda installation (which runs Python 3.4.3). I've tried a variety of things following this website: https://www.blender.org/api/blender_python_api_2_60_1/info

Which python package owns a binary?

谁说我不能喝 提交于 2019-12-24 15:46:13
问题 I'm having problems with ~/.local/share/miniconda3/envs/nndl/bin/tput - it produces output different to my system version, breaking some ANSI colouring. I'm trying to track down the package which provides this offensive version. I've tried (source): pip list | tail -n +3 | cut -d" " -f1 | xargs pip show -f | grep tput But the binary is not shown. How do I find which python package includes a binary? 回答1: One ugly solution is: Rename the file Re-install all installed packages one-by-one until

Fail installation of tensorflow over conda

孤者浪人 提交于 2019-12-24 15:27:57
问题 I have just installed anaconda latest version X64 for windows with python 3.7. trying to install tensorflow ends up with the next error message: conda install -c conda-forge tensorflow Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: - anaconda==2018.12=py37_0 -> bleach==3.0.2=py37_0 - anaconda==2018.12=py37_0 -> numexpr==2.6.8=py37hdce8814_0 - anaconda==2018.12=py37_0 -> scikit-learn==0.20.1=py37h343c172_0 - tensorflow Use "conda info

module 'numba.findlib' has no attribute 'get_lib_dir'

别来无恙 提交于 2019-12-24 12:34:12
问题 I'm trying to learn how to use pyculib and got AttributeError: module 'numba.findlib' has no attribute 'get_lib_dir' 4 core CPU (intel) + GeForce GTX 745 File "", line 1, in runfile('C:/Python/Scripts/LearnCUDA/curand.py', wdir='C:/Python/Scripts/LearnCUDA') File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile execfile(filename, namespace) File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize

Using MacPorts to install modules via a certain path

戏子无情 提交于 2019-12-24 12:18:21
问题 I realize this is a very newbie question, but previous threads haven't been encouraging (see details below). I've been using anaconda for most of my work via the IPython Notebook, python 2.7 However, there is a module which I could only properly download with MacPorts. Hence the current problem: when I try to use the Python command line in Terminal or use IPython notebooks, I will enter import py-module and I get Traceback (most recent call last): File "<stdin>", line 1, in <module>

Add kerberos from pypi to Anaconda under Windows

限于喜欢 提交于 2019-12-24 10:50:13
问题 Complete noob so would appreciate a step-by-step solution. I would like to add kerberos package to Anaconda but don't know how to do it. I have tried the using conda command line: pip install kerberos but it failed. Does anyone know how to go about it? This is the error log from pip: C:\Users\woodas\AppData\Local\Continuum\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -IC:\Users\woodas\AppData\Local\Continuum\Anaconda\include -IC:\Users\woodas\AppData\Local\Continuum\Anaconda\PC -c src

conda install -c anaconda gcc_linux-64 not being used

醉酒当歌 提交于 2019-12-24 10:42:03
问题 I wanted to install updated version of gcc on a server where I do not have root access. I tried conda install -c creditx gcc-7 which was not working. Then I found conda install -c anaconda gcc_linux-64 in fact installs gccv7.3. But after the successful installation, the conda environment still uses the system gcc at /usr/bin/gcc Please help me so that I can use the gcc v7.3 that I just installed. 回答1: As explained here: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler

Unable to install git repo by pip

China☆狼群 提交于 2019-12-24 10:23:59
问题 I am trying to install a git repo's master branch source by pip and I am using the command pip install git+https://github.com/apache/systemml/@master#egg=systemml&subdirectory=src/main/python But I encountered the error: Command "python setup.py egg_info" failed with error code 1 in C:\Users\test\AppData\Local\Temp\pip-install-3hqjwj06\systemml\ 'subdirectory' is not recognized as an internal or external command, operable program or batch file. So I researched about it and found the

Why do I get this import error when I have the required DLLs?

人盡茶涼 提交于 2019-12-24 10:18:29
问题 from sklearn.feature_extraction.text import CountVectorizer getting this error from sklearn.feature_extraction.text import CountVectorizer File "C:\Users\Anaconda3\lib\site-packages\sklearn\__init__.py", line 57, in <module> from .base import clone File "C:\Users\Anaconda3\lib\site-packages\sklearn\base.py", line 12, in <module> from .utils.fixes import signature File "C:\Users\Anaconda3\lib\site-packages\sklearn\utils\__init__.py", line 11, in <module> from .validation import (as_float_array

How to install/convert non-Python packages (.tar.bz2) to Anaconda packages?

不想你离开。 提交于 2019-12-24 08:50:11
问题 I need to convert some non-Python packages that are in the .tar.bz2 format to Anaconda/miniConda .egg files and install them. For this I would need a bld.bat file for Windows. Is there any place on the internet where I can find some examples to do this. Maybe it is possible to write a .py Python script to do this as well. The .tar files are present online and I need to download and install those automatically using the script. 回答1: With conda-build you can build non-Python packages the same