Importing VLC Python 2.7.15 On Macbook air - python-2.7

I had the same problem on macbook pro, the solutions was to write the command 'brew cask install vlc', and the I could import the vlc.
But now when I try to do the same thing on macbook air it dose not work although the vlc "app" is installed.
this is the Erorr that I am getting: import vlc
ImportError: No module named vlc
>
I hope that some one could help me to find a solution for the macbook air.
Thanks in advance !
ZZaim

do you have the vlc-python module installed? If you did not install it, execute the following command in the console to install the vlc-python module
pip install vlc-python

Related

How to solve Pylearn2 installation error?

I got this error when trying to install Pylearn2 software.
import error img
I follow the download & installation instruction at their website http://deeplearning.net/software/pylearn2/. I have already install setuptools module using anaconda.
setup tools module.
How do I solve this?
I'm on Ubuntu 18.04 with python 2.7

Unable to Launch RIDE from command prompt

I want to start using the RIDE tool for automation but I am currently unable to launch it from the command prompt. The following are what I have installed.
Python 2.7.11 (32bit)
Wx Python 2.8.12.1(unicode) for Python 2.7
robotframework 3.0.2 (pip installed)
robotframework-ride 1.5.2.1 (pip installed)
When I launch ride.py from cmd, it opens up a word file which has the same ride.py which is installed in the C:\Python27\Scripts folder.
The same setup works on a different machine. I don't understand why in this machine, it opens up a word document instead of launching RIDE
Do a right click on ride.py and choose python as default program.
in my machine python 2.7.15 is auto updated from 2.7.14. When to try to launch Ride.py it throws an error
wxPython not found.
You need to install wxPython 2.8.12.1 or 3.0.2 or newer with unicode support to run RIDE. wxPython can be downloaded from http://sourceforge.net/projects/wxpython/files/wxPython/
Although is wxpython 2.8.12.1 installed its doesn't recognize it. can anyone help out how can i over come this issue.
I have Ride 2.0a1. should I downgrade ride or how can i fix this issue.

Shapely is no Win32 Application

I'm trying to install shapely via pip on Windows. I'm using python 2.7.13 32-bit on 64-bit System. It's because I'm running Mapnik too.
Mapproxy needs Shapely for reading Shapefiles for Seeding Coverages.
Trying to run pip install shapely turns into
WindowsError: [Error 193] %1 is no valid Win32-Application
pip is trying to install Shapely Version 1.5.17.
When installing version 1.6b4 from tar.gz manually downloaded the installation is working. But mapproxy-seed with shape coverage is not working.
Has anyone a solution?
Thanks for your Help.
Try to install from the wheel you can find here, with the command pip install <path-to-downloaded-file>.whl

installing numpy on a python 2.7 with system windows 8.1

I'm working on a code to run it in abaqus. I need in my code to use numpy module. I have python 2.7.11 on my computer. I have installed it on windows 8.1.
I have downloaded numpy-1.11.Zip already.
I look for an easy detailed guide for installing it on my python
Thank You!
If you have pip installed on your system, execute
pip install numpy

installing pygame over anaconda

I am trying to install pygame over anaconda. My OS is windows 7 64 bit and I downloaded the following files:
pygame-1.9.2a0-cp27-none-win32.whl
pygame-1.9.2a0-cp27-none-win_amd64.whl
prebuilt-x64-pygame-1.9.2-20150907.zip
pygame-1.9.2a0-hg_ea3b3bb8714a.win32-py2.7.msi
pygame-1.9.2a0.win32-py2.7.msi
I get this error after "pip install pygame":
Could not find a version that satisfies the requirement pygame (from versions: ) Some externally hosted files were ignored as access to them may be unreliable (use --allow-external
What am I missing?
Thanks
This worked for me when installing pygame with anaconda. I believe that if you go into the terminal on anaconda and type
Pip install pygame
It installs the latest version of pygame into your environment