Try to add these env var before
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true pip install google-cloud-pubsub==2.1.0
If it does not work you can try with virtualenv:
pip install virtualenv virtualenv my-test-env source my-test-env/bin/activate my-test-env/bin/pip install google-cloud-pubsub==2.1.0
Because is written on github:
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Related Posts:
- pip or pip3 to install packages for Python 3?
- How to install pip for Python 3 on Mac OS X?
- How to install pip with Python 3?
- bash: pip: command not found
- bash: pip: command not found
- How to uninstall a package installed with pip install –user
- How to uninstall pip on OSX?
- ImportError: No module named pip
- ImportError: No module named pip
- How do I install pip on macOS or OS X?
- Pip freeze vs. pip list
- How do I install pip on macOS or OS X?
- How to install python3 version of package via pip on Ubuntu?
- Could not install packages due to an EnvironmentError:
- Could not find a version that satisfies the requirement tensorflow
- Could not find a version that satisfies the requirement tensorflow
- Updating Python on Mac
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- import opencv vs import cv2
- bash: pip: command not found
- How to install pip3 on Windows?
- ModuleNotFoundError: No module named ‘matplotlib’
- How can I install Python’s pip3 on my Mac?
- What is the purpose of “pip install –user …”?
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- I get a syntax error and an error saying illegal target for variable annotation. How do I fix it?
- No module named pandas_datareader
- ‘dict’ object has no attribute ‘has_key’
- Series Summation using for loop in python
- Python 3: UnboundLocalError: local variable referenced before assignment
- Why Am I Getting ELIF Invalid Syntax Error?
- Alternative to scipy.misc.imresize()
- How can I install Python’s pip3 on my Mac?
- Get degree of each nodes in a graph by Networkx in python
- Dlib installation error?
- python mpl_toolkits installation issue
- python install wheel leads to import error
- Virtualenv – workon command not found
- How to install requests module in Python 3.4, instead of 2.7
- Pipenv: Command Not Found
- How do I create a popup window in tkinter?
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- ‘python3’ is not recognized as an internal or external command, operable program or batch file
- ImportError: No module named ‘yaml’
- How do I remove/delete a virtualenv?
- pandas equivalent of R’s cbind (concatenate/stack vectors vertically)
- How to fix ModuleNotFoundError: No module named ‘pip._internal’ with python source code installation
- Django Rest Framework — no module named rest_framework
- boto3 python 2.7 ImportError: No module named boto3 USER_BASE USER_SITE site packages doesn’t exist
- Import py file in another directory in Jupyter notebook
- Python can’t find module NLTK
- pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages
- Could not install packages due to an EnvironmentError: [Errno 13]
- Why would cv2.COLOR_RGB2GRAY and cv2.COLOR_BGR2GRAY give different results?
- Tkinter error: Couldn’t recognize data in image file
- How to install Openpyxl with pip
- How to install NumPy for Python 3.6
- How to install PyQt4 on Windows using pip?
- How do I install pip on macOS or OS X?
- How to install PyQt4 on Windows using pip?
- unsupported format string passed to numpy.ndarray
- SyntaxError: unexpected EOF while parsing
- How to use filter, map, and reduce in Python 3
- converting time from UTC to CST
- Use Gif Logo For Loading Screen In Kivy
- Praw & Discord.py: The bot keep sending the same meme. I want the bot to send different meme whenever it is asked
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- Understanding the main method of python [duplicate]
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How do I update\upgrade pip itself from inside my virtual environment?
- How to open a file using the open with statement
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How do I update\upgrade pip itself from inside my virtual environment?
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- What is the difference between rw+ and r+
- ‘pip’ is not recognized as an internal or external command
- How to update/upgrade a package using pip?
- Convert bytes to a string
- How do I update\upgrade pip itself from inside my virtual environment?
- How can I represent an ‘Enum’ in Python?
- Python – TypeError: ‘int’ object is not iterable
- Import Error: No module named numpy
- How to update/upgrade a package using pip?
- Python3 – ModuleNotFoundError: No module named ‘numpy’
- How can I upgrade specific packages using pip and a requirements file?
- Relative imports – ModuleNotFoundError: No module named x
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- Relative imports – ModuleNotFoundError: No module named x
- TypeError: a bytes-like object is required, not ‘str’ when writing to a file in Python3
- How do I upgrade the Python installation in Windows 10?
- How can I install packages using pip according to the requirements.txt file from a local directory?
- How to uninstall Anaconda completely from macOS
- not all arguments converted during string formatting.. NO % variables
- How do I use raw_input in Python 3
- Python Variable Declaration
- Relative imports in Python 3
- Relative imports in Python 3
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- working of \n in python [duplicate]