I have a compilation error when upgrading to Kivy 1.8 the error is the following :
/tmp/easy_install-toDKWY/Kivy-1.8.0/kivy/graphics/gl_redirect.h:38:22: fatal error: GL/gl.h: No such file or directory
# include <GL/gl.h
can anyone help?
EDIT : i have solved my problem and wanted to share the solution. The problem was sure not in Kivy but in the installation of it on my platform. what i did is uninstall Kivy and re-install it again using apt-install (on Lunix Ubuntu). Thank you all.
Make sure you have installed all the dependencies mentioned here http://kivy.org/docs/installation/installation.html#ubuntu
You could also try out the pre-built packages from here https://launchpad.net/~kivy-team/+archive/kivy
or here http://kivy.org/#download
Related
I'm trying to convert my python script and I keep getting the following error:
error: [Errno 2] No such file or directory: 'libopenblas.TXA6YQSD3GCQQC22GEQ54J2UDCXDXHWN.gfortran-win_amd64.dll'
Can someone, please help me?
Do you have NumPy installed? It appears that files comes with it.
Try: pip install intel-numpy or conda install numpy depending on which package manager you want to use.
If you already have it installed, and are still getting the error... Identify which folder it is installed in and add that folder to your path before running the exe tool.
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
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.
I would like to know how to install python-poppler-qt4 on windows.I have already installed python 2.7
,pyqt4 using window installer as well as SIP. However, when I tried to install python-poppler-qt4 through pip install, error was found :
import PYQT4.pyqtconfig
ImportError:No module named pyqt.config
From what I have understand, it is because I installed the binary packages for pyqt4 rather than from the source packages so this pyqt.config.Yet if I installed it from source, it mean that I would have to make use of MSVC or MinGW 32 bits?
How do I resolve this problem? Thank you
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.