Where to put lapack/blas binaries in Anaconda install? - python-2.7

Scipy is installed with Anaconda, but won't work since no lapack and blas resources can be found. I've put the precompiled lapack/blas stuff from this link:
http://www.fi.muni.cz/~xsvobod2/misc/lapack/
into my Anaconda folder (user/anaconda) and also into my standard python istallation (c://python27). It still won't work.
I've checked out other questions on this forum on how to install. I've followed the instructions given here:
http://www.scipy.org/scipylib/building/windows.html
but Cmake always sais that the compiler can't compile a simple test program.

Problem solved! I uninstalled Python 2.7 and Anaconda, and now for some reason it works. Thanks to you guys who answered this post :)

Did you try this code?
-conda install -c pymc pymc
It includes installing Scipy.
"Lapack/blas resources not found" error disappeared when I tried this.

Related

How to install Rasa Stack in Windows 10?

Maybe someone else asked the same question too. But this question is difficult. I tried everything. The place I am stuck is with installing dependencies. Some of the dependencies are old and not easily available. But I managed to install them.
The problems lies here.. There are dependencies that need to get the build from their source code. I already installed Visual C++ Build and MSMPI. Also installed HDF5 for H5PY but it doesn't let me build old versions of H5PY. So, I tried installing the latest version of H5PY but still, I am stuck at errors like file not found. Some of the files which the build process cannot find are "h5py/h5f.pyx", "mpi_c", "mpi.h". Solving error for one missing file leads to other and so on..
On trying hard to solve such errors and installing one or the other package to do the same task, I am tired up.. Something I found, at last, was that "mpi_c" file was replaced with some other file in newer versions of MPI4PY. But my dependencies depend on older version. I tried installing an older version of MPI4PY but HDF5 won't let me install that giving other errors. At last, I quit the task with my whole day wasted after this.
So can someone here please provide a step by step guideline for installing Rasa Stack on Windows Machine?
Windows 10 with Python 3.7.. Let me know if I need to downgrade python as well.. It was my first time building some project from source with python on windows. Thanks...
Please try the below steps to install Rasa:
Install Conda
Create a virtual environment:
conda create -n myenv python=3.5
Activate the virtual environment
conda activate myenv
pip install rasa_nlu rasa_core

No matter what I do, my environment can't see libjpeg for Pillow on OSX 10.10 with Virtualenv

I've been researching this for hours. I can't seem to get it to work.
The issues is that I'm on OSX10.10, running Python 3.3. Everything worked great on 10.9.
I'm not even sure how to test it. I've done just about every step that has been suggested. Making new symlinks, linking and unlinking with Homebrew. Doing a custom install.
I'm just stuck. Anyone been able to sort this out?
In summary, I've uninstalled Pillow (and therefore PIL) and then installed the libjpeg files. Then I reinstalled Pillow with PIP.
This issue is that the gist for Homebrew install Python 3.3 isn't working right. When I upgraded to Python 3.4 everything worked fine.
Recommend looking at this gist to revise and see what can be done to address this if you need 3.3
https://gist.github.com/dnozay/231a037d53e14052ccd6

numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

While installing SciPy on PyCharm IDE, I got stuck with the error saying
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
I have installed correct version of pip. I don't know where went wrong.
Blas and lapack are linear algebra packages which will need to be installed before scipy will work (check the dependencies). For windows 8.1 you may find help on http://icl.cs.utk.edu/lapack-for-windows/lapack/.
Also check out this answer which may help Windows Scipy Install: No Lapack/Blas Resources Found

What environment or package should be setup before building the pnacl toolchain

[11/05 update]
The problem is solved hours after i posted it by myself. If you are looking for the answer, hope the following information helps.
------------------Original message--------------------
This question is going to be two parts:
What OS system should be used?
there are many choice for developing pnacl, but what is the best or stable one.
What package should be installed?
this question is referenced to the question I asked before, see this
Until now, I'm not able to build it successfully.
From my experience, I don't think this compilation error is come from pnacl it's self, since every compilation error I solved is by installing some package that I don't installed. And at least, there is a person who successfully installed it
ex : texinfo, clang, bison...
Here is the package I installed from the beginning(after ubuntu installed) till now :
g++
gcc-multilib
g++-multilib
libsdl1.2-dev
texinfo
libcrypto++-dev
libssl-dev
lib32ncurses5-dev m4
libelf-dev
bison
git
gitk
git-core
bision
clang
cmake
subversion
I solved this problem by installing
byacc
flex
gyp
then it starts to build successfully

Python-magic installation error - ImportError: failed to find libmagic

I am trying to install python-magic for Windows and I have followed all the instructions in https://github.com/ahupp/python-magic and repeated the process several times but I am still getting this error:
ImportError: failed to find libmagic. Check your installation
I have magic1.dll (along with the two other files the docs specified) in C:\Windows\System32 so I am not sure what the issue is. I would appreciate any help or workarounds.
Go here and download the file "python_magic_bin-0.4.14-py2.py3-none-win32.whl", then
pip install python_magic_bin-0.4.14-py2.py3-none-win32.whl
now python-magic works
I know this is a Windows question, but i wanted to share a Debian solution:
apt-get install libmagic-dev
Kind regards.
The below original answer is now outdated. Please simply follow the instructions denoted under the "dependencies" section.
ORIGINAL ANSWER:
I was able to solve this problem by moving the 3 files from GNUWin32 project to a separate directory (not the \system32 directory the docs suggest) and adding them to the PATH environment variable
Follow the below steps.
go to > https://github.com/pidydx/libmagicwin64
download the 3 files (dll's) except readme.md file
Drop the 3 files (dlls ) in C:\Windows\System32 and python magic will
import correctly.
Installing Cygwin with libmagic libary and installing the most recent version of the module from Github solves this problem.
At the time this question was asked, https://github.com/ahupp/python-magic probably didn't support cygmagic-1.dll.