Installing VTK python module on mac OSX Yosemite 10.10.1 - vtk

i am trying to install VTK module 6.2.0 for python on mac OSX Yosemite 10.10.1. I tried some reference [1],[2] but error comes "vtk module not found". That means vtk module is not properly getting installed. Can anyone help or suggest any reference working for MAC OSX Yosemite 10.10.1.

installed vtk6.2.0 module using Homebrew [ref]. initially got brew link errors but these posts [1],[2] helped.

Related

anaconda ImportError: DLL load failed while importing cv2: The specified module could not be found

I am trying to install opencv on my laptop but I keep getting ImportError: DLL load failed while importing cv2: The specified module could not be found.
I tried installing installing with conda install -c conda-forge opencv in an anaconda env.
But I also get the same result if I use my normal python 3.10 interpreter with opencv-python and opencv-contrib-python.
I also tried to compile the module myself but cv2.cp310-win_amd64 gives me the same error as well...
Isnt there just an prebuild binary I can use? or should I look for an different ML module?
Yesterday when I came home I tried installing opencv-python on my personal computer. And it worked instantly. I have an GTX 1070 in that pc and an RTX A1000 in the work laptop I need opencv on. So I tought that the cuda cores might not be supported or something.
I found this tutorial https://machinelearningprojects.net/build-opencv-with-cuda-and-cudnn/
But after installing the Nvidia SDK, cudnn and compiling opencv from source I still get the same error.
Even with appending the opencv output folder and the cuda sdk bin folder to python's dll_path.
Disabling BUILD_SHARED_LIBS as suggested in here also does nothing....
https://forum.opencv.org/t/opencv-w-cuda-build-seems-successful-but-import-cv2-fails/11328/3
This happened to me just this morning, and I fixed it by installing opencv using pip. First, I removed conda's opencv installation. In the environment where it is installed type
conda remove opencv
Once it is removed, type
pip install opencv-python
Hope it helps
Using python 3.6 with conda install -c conda-forge opencv=3.2.0 as described here OpenCV-Python ImportError: DLL load failed: The specified module could not be found solved the issue on my laptop with an RTX A1000. Weird opencv works with python 3.10 on my desktop with an GTX 1070

Could not find a version that satisfies the requirement MetaTrader5

I am trying to install a python package MetaTrader5 using the command
python3 -m pip install MetaTrader5
and I have even tried
pip install MetaTrader5
But it throws the following error
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
I am using
Ubuntu 16.04.6
Python 3.6.10
can someone help with this?
I have a mac. On it I have conda installed on MacOS. In addition I have a virtual machine running windows and I have also installed conda on Windows. I could install MetaTrader5 package using pip on the virtual machine but not on MacOS.
According to this Youtube video, MetaTrader5 currently doesn't support Ubuntu. It's only available on Windows.
If you look at Pypy and view the wheel files, you will see that all the builds are for Windows. pip is refusing to install because it can't find a Mac or Linux version.
https://pypi.org/project/MetaTrader5/5.0.37/#files
Download python version 3.10.0 then try installing metatrader5.
here the link: https://www.python.org/downloads/release/python-3100/
Metatrader 5 for Python, only work in exact versions:
Install one of version below to MT5 works.
Python Versions for Metatrader5

ERROR in install opencv in my python 3.6.6

I HAVE PYTHON 3.6.6 INSTALLED IN MY WINDOWS 7 PLATFORM BUT WHEN I TRIED TO INSTALL OPENCV PACKAGE IT SAYS REQUIREMENT ALREADY SATISFIED AND IF I TRY TO IMPORT CV2 IT SAYS NO MODULE .I'VE TRIED ALL POSSIBLE METHODS ON INTERNET WHAT SHOULD I DO
i tried to download opencv exe from sourceforge and copying cv2.pyd file and then pasting it in site packages
i tried pip install opencv_python-4.0.1-cp37-cp37m-win_amd64.whl
but nothing works
The error message says that you are asking PIP install a version of cv2 for 64-bit Python 2.7, and that installation is failing. So the installation is not happening because it's the wrong version. That might be because you don't have Python 2.7, or because you have a 32-bit processor, or both. Navigate to Python36\Scripts and issue the command pip install opencv_python. Then pip will find the appropriate file to download, and install it.

How do I install OpenCV without it upgrading my python version on Mac?

I tried to install opencv for Python 3.6.5 on Mac OS. I tried brew install opencv, but it updates my python version to 3.7.
I tried brew pin python and then tried the installation but it just fails as it can't update the dependency.
Error: You must `brew unpin python` as installing opencv requires the latest version of pinned dependencies
I don't want to use pip install opencv-python as I read somewhere that it is not official.
Can someone help me out?

Installing pyQT on OSX for python 3.2

NOTE: I'm using python 3
I've been trying to install pyQT on Mac OsX Mountain Lion and I have not had much success so far. I'm fairly new to this so I don't even want to think about setting everything up manually.
Heres the error Im getting which I believe means that there is no easy_install script for installing pyQT. Ive also tried macports however pyQT is not supported for python3 yet on that. Does anyone have any simple solution to getting pyQT installed on osX?
Downloading http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.5/PyQt-x11-gpl-4.9.5.tar.gz
Processing PyQt-x11-gpl-4.9.5.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-ZiD0mx/PyQt-x11-gpl-4.9.5.tar.gz
new-host-6:~ Eric$
macports just gives the error "port install not found"
I don't have specific instructions, but here is an overview of what you need
Install Qt: Either via macports, homebrew, source, or a binary build.
Install sip from source
python configure.py --arch=x86_64
make && make install
Install PyQt4 from source. You want the mac source. Not X11 (linux)
python configure.py
make && make install
PyQt4 should locate sip and your Qt install.
You cannot simply install it from easy_install because it is a bit more involved. PyQt depends on SIP and a Qt installation for linking. I recommend homebrew over macports for package installing. You can use it to get Qt: brew install qt

Resources