pip

Trouble installing some libraries in python (oauth2client and gspread)

纵饮孤独 提交于 2021-01-28 10:19:09
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Trouble installing some libraries in python (oauth2client and gspread)

给你一囗甜甜゛ 提交于 2021-01-28 10:18:30
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Trouble installing some libraries in python (oauth2client and gspread)

若如初见. 提交于 2021-01-28 10:18:18
问题 I'm using python 3.7 (environment created by anaconda) and trying to run python code that uses some google libraries but I don't really know how to install them. From PyCharm IDE (Settings -> Project Interpreter -> Available Packages) I cannot find those packages to install. And from terminal, running 'pip install --upgrade oauth2client' or 'pip3 install --upgrade oauth2client' doesn't seem to work either. What I don't understand is: to install packages/libraries on python 3.x, should i only

Why do I get this error when installing Jupyter notebook?

自闭症网瘾萝莉.ら 提交于 2021-01-28 10:06:04
问题 ERROR: Command errored out with exit status 1: command: 'c:\users\nithi\appdata\local\programs\python\python39\python.exe' 'c:\users\nithi\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\nithi\AppData\Local\Temp\tmpba_qtkcq' cwd: C:\Users\nithi\AppData\Local\Temp\pip-install-dq1r1ff8\argon2-cffi Complete output (25 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.9

How to setup application to personalize it?

烂漫一生 提交于 2021-01-28 09:40:15
问题 I'm working on simple opensource project. Github link. Application is written with tkinter . It is kind of calculator. I want to allow user to configure it during installation (but only then, no separate menu for changing settings). At the moment default values are saved in class. I would like to add possibility to use: pip3 install . --install-option="--customize={'my_value1': 1, 'my_value2': 2}" . I know that I can add them one by one, but it will be many of them that's why I decided to use

Cannot install any packages with pip I got this error ImportError: cannot import name 'appdirs'

拈花ヽ惹草 提交于 2021-01-28 08:55:27
问题 When I try install any packages with pip or use pip I got the following error: ImportError: cannot import name 'appdirs' an Example: !pip install tweepy Traceback (most recent call last): File "/Users/user_name/anaconda3/bin/pip", line 6, in <module> from pip._internal.cli.main import main File "/Users/user_name/anaconda3/lib/python3.6/site- packages/pip/_internal/cli/main.py", line 10, in <module> from pip._internal.cli.autocompletion import autocomplete File "/Users/user_name/anaconda3/lib

Trouble pip installing psutil on Mojave

帅比萌擦擦* 提交于 2021-01-28 08:46:39
问题 I'm trying to install psutil with the Homebrew version of Python on OSX Mojave. Running: pip3 install psutil 2> error.log The console output is: Collecting psutil Using cached psutil-5.7.2.tar.gz (460 kB) Building wheels for collected packages: psutil Building wheel for psutil (setup.py) ... error Running setup.py clean for psutil Failed to build psutil Installing collected packages: psutil Running setup.py install for psutil ... error and the error messages: ERROR: Command errored out with

Cannot install any packages with pip I got this error ImportError: cannot import name 'appdirs'

﹥>﹥吖頭↗ 提交于 2021-01-28 08:43:51
问题 When I try install any packages with pip or use pip I got the following error: ImportError: cannot import name 'appdirs' an Example: !pip install tweepy Traceback (most recent call last): File "/Users/user_name/anaconda3/bin/pip", line 6, in <module> from pip._internal.cli.main import main File "/Users/user_name/anaconda3/lib/python3.6/site- packages/pip/_internal/cli/main.py", line 10, in <module> from pip._internal.cli.autocompletion import autocomplete File "/Users/user_name/anaconda3/lib

How to make pipenv install <package> use SSL certificate of firewall?

安稳与你 提交于 2021-01-28 07:45:13
问题 Sitting behind a very strict firewall with SSL decryption, I usually install python packages (on macOS 10.15.) with these options pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <packagename> . But pipenv install --trusted-host pypi.org --trusted-host files.pythonhosted.org <packagename> doesn't work: pipenv.vendor.requirementslib.exceptions.RequirementError: Failed parsing requirement from '--trusted-host' Since ignoring SSL didn't work, I tried to place the

Use pip package inside Conda environment

笑着哭i 提交于 2021-01-28 07:08:40
问题 I am confused about how the packages installed through pip and conda work together. What I do know: pip and conda install different package format. What are the implications here except that pip can not install the conda package format? (which is fine for the purpose of this question since you can always use the appropriate command to install a package; I am interested in the part that follows) Say, package A is installed via pip ; package B installed via conda in an isolated conda