How to import Mlpy on IPython? - installation

I am using IPyhton(py 3.4) notebook. I want to import mlpy module by typing import mlpy command. However I get the following error "No module named mlpy". I tried to install it by using "pip install" on the command prompt but this time I take the invalid syntax error. What should I need to do in order to install mlpy?

Related

Can't get imports that are seen in "pip list"to be recognized in pycharm

I'm trying to get pyttsx3 to work in pycharm. I did a "pip3 install pyttsx3". "pip3 list" shows it to be available. I get the following when I try to run the module in pycharm:
from pywiktionary import WiktionaryParserFactory
ModuleNotFoundError: No module named 'pywiktionary'
It does the same thing for pyttsx3. Installs under pip, but get the same "ModuleNotFoundError: No module named 'pyttsx3'.
It's like they exist at one place for pip and another place for pycharm. I even uninstalled/installed pycharm. What defines where the python modules are put in the system?

How to install YAML package in Pycharm (Python 3.8 / 3.9)?

How do I install the YAML package in Pycharm? I want to use it for a python 3.8 (or 3.9) project. When trying to install the package via the project settings I get the following error:
ERROR: Could not find a version that satisfies the requirement yaml
Alternatively I tried to search for any YAML package available via the command window by typing pip search yaml. Then I get the following error:
ERROR: XMLRPC request failed [code: -32500]
Any advice?
Thanks
pip install pyyaml
I think that this is what you are looking for: https://pypi.org/project/PyYAML/
It gets imported as import yaml

Canopy editor: error no module named pyspark

From canopy editor I tried import pyspark and it gives me error no module named pyspark in C:\users\user\appdata\local\temp\tmparhn5_.py
I tried pip install pyspark and the error is invalid syntax
then I tried import findspark and error is no module named findspark.
How resolve it?

Python-docx installation error. Cannot import 'etree'

I am using using Pycharms to program using Python3.5. I tried to import docx module and I am getting the error shown in the picture. I am not able to do any pip install either. I get a fatal error shown in the second picture.

Error "matplotlib is not a package" on Mac problems

Getting the No module named 'matplotlib.pyplot'; matplotlib is not a package error when trying to run:
import matplotlib.pyplot
plt.plot([1,2,3,4],[4,7,8,12])
plt.show()
Im running python 3.3, and have installed the correct matplotlib, and six library. i have checked this by running pip list.
I have also tried running the file in terminal, and when i do this the error changes from matplotlib is not a module to no module named pyplot.

Resources