@zetysz and @Manish already fixed the problem. I am just putting this in an answer for future reference:
pip
refers to Python 2 as a default in Ubuntu, this means thatpip install x
will install the module for Python 2 and not for 3pip3
refers to Python 3, it will install the module for Python 3
Related Posts:
- How to find which version of TensorFlow is installed in my system?
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- How to install python3 version of package via pip on Ubuntu?
- OSError: [WinError 193] %1 is not a valid Win32 application
- Python3: ImportError: No module named ‘_ctypes’ when using Value from module multiprocessing
- Making a collatz program automate the boring stuff
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- How to tell if tensorflow is using gpu acceleration from inside python shell?
- pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/
- How to install PyGame on Python 3.4?
- ImportError: No module named ‘xlrd’
- How to Install pip for python 3.7 on Ubuntu 18?
- No module named utils error on compiling py file
- No module named django but it is installed
- How to completely uninstall python 2.7.13 on Ubuntu 16.04
- How to install Openpyxl with pip
- Install pip for python 3.5
- How do I copy a file in Python?
- Use Gif Logo For Loading Screen In Kivy
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- are there dictionaries in javascript like python?
- How do I update\upgrade pip itself from inside my virtual environment?
- How to move a file in Python?
- Round a floating-point number down to the nearest integer?
- beyond top level package error in relative import
- How do you append to a file?
- sklearn error ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’)
- Jupyter Notebook not saving: ‘_xsrf’ argument missing from post
- What does it mean to have an index to scalar variable error? python
- Could not install packages due to an EnvironmentError:
- What does “e” in “1e-5” in Python language mean and what is the name of this notation?
- How to avoid “RuntimeError: dictionary changed size during iteration” error?
- ‘Conda’ is not recognized as internal or external command
- `from … import` vs `import .` [duplicate]
- How do I convert a list of ascii values to a string in python?
- How can I compare two lists in python and return matches
- Convert DataFrame column type from string to datetime, dd/mm/yyyy format
- How can I remove a trailing newline?
- Is there a list of line styles in matplotlib?
- Import urllib.request, ImportError: No module named request
- TypeError: cannot convert the series to
- Get a list from Pandas DataFrame column headers
- Using %matplotlib notebook after %matplotlib inline in Jupyter Notebook doesn’t work
- How to create new folder?
- Python Sets vs Lists
- How do I resize an image using PIL and maintain its aspect ratio?
- Display image as grayscale using matplotlib
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- PermissionError: [WinError 5] Access is denied
- Pytorch reshape tensor dimension
- How to iterate over columns of pandas dataframe to run regression
- JSON to pandas DataFrame
- django MultiValueDictKeyError error, how do I deal with it
- Python, print all floats to 2 decimal places in output
- RuntimeWarning: divide by zero encountered in log
- clang error: unknown argument: ‘-mno-fused-madd’ (python package installation failure)
- Deleting DataFrame row in Pandas based on column value
- Timeout on a function call
- Pandas long to wide reshape, by two variables
- how to create a list of lists
- Python – ‘ascii’ codec can’t decode byte
- How do I correctly use the mod operator in MIPS?
- Does Numpy automatically detect and use GPU?
- Properly formatted multiplication table
- How can I check whether a numpy array is empty or not?
- What is a ‘NoneType’ object?
- Class constants in python
- How do I print the key-value pairs of a dictionary in python
- urllib2 HTTP Error 400: Bad Request
- Plot correlation matrix using pandas
- How to fix “AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph'”?
- Iterating over a 2 dimensional python list [duplicate]
- TypeError: ‘set’ object does not support indexing
- Python 3.6 No module named pip
- Difference between import tkinter as tk and from tkinter import
- Split function add: \xef\xbb\xbf…\n to my list
- ImportError in importing from sklearn: cannot import name check_build
- Root mean square of a function in python
- Installing opencv on Windows 10 with python 3.6 and anaconda 3.6
- H14 error in heroku – “no web processes running”
- Importing Pandas gives error AttributeError: module ‘pandas’ has no attribute ‘core’ in iPython Notebook
- What does this Django regular expression mean? `?P`
- Strange error about invalid syntax
- NameError: name ‘python’ is not defined
- What is an easy way to implement fprintf in python?
- What is the recommended way to use Vim folding for Python code
- Plotting a python dict in order of key values
- How to normalize a NumPy array to within a certain range?
- How to check if a user is logged in (how to properly use user.is_authenticated)?
- Can I remove script tags with BeautifulSoup?
- gunicorn.errors.HaltServer:
django - Python ‘while’ with two conditions: “and” or “or”
- How to pass a list by reference?
- Python Quicksort Runtime Error: Maximum Recursion Depth Exceeded in cmp
- “for loop” with two variables?
- Python webbrowser.open() to open Chrome browser
- Flatten nested dictionaries, compressing keys
- i want to run python script in wordpress