installation

Determine version of package to install via bash command's output in Poetry

Determine version of package to install via bash command's output in Poetry Question: I am trying to install a Python package via Poetry whose version to install should be determined based on the output (~return value) of a Bash command. Is it possible doing something (in the pyproject.toml) along the lines of: [tool.poetry.dependencies] python = …

Total answers: 1

PYPY venv pip ERROR: ModuleNotFoundError: No module named 'pip._vendor.six'

PYPY venv pip ERROR: ModuleNotFoundError: No module named 'pip._vendor.six' Question: I created venv according to pypy install site: System-Product-Name:~# virtualenv -p "/home/x/pypy3.8-v7.3.7-linux64/bin/pypy" ve created virtual environment PyPy3.8.12.final.0-64 in 102ms Success. Following step 2 (activation) worked as well… and using: $python opens pypy same as using ./pypy, which is as intended. However after this point nothing …

Total answers: 4

Pip installing a whl-file from a private github repository

Pip installing a whl-file from a private github repository Question: How can one install a .whl (python library) from a private github repo? I have setup a personal access token and can install the library if its not a .whl by using the following command pip install git+https://{token}@github.com/{org_name}/{repo_name}.git However if there is a .whl in …

Total answers: 2

Unable to use matplotlib after installation "no module named 'matplotlib'"

Unable to use matplotlib after installation "no module named 'matplotlib'" Question: I am brand new to Python and am following the tutorial at this link: https://code.visualstudio.com/docs/python/python-tutorial I was able to execute python -m pip install matplotlib However, then when trying to run script: import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, …

Total answers: 3

Install python shout module in windows 10 (python version 3.9)

Install python shout module in windows 10 (python version 3.9) Question: I am trying to install python-shout module in windows 10 but it fails. In the ubuntu works well. Edit (06/10/2022): Here is what i have tried to build python-shout in native windows Only download libshout module files from here: Note that i download all …

Total answers: 3

Cannot install python-pip using yum in Ubuntu

Cannot install python-pip using yum in Ubuntu Question: I have the error message failure: repodata/repomd.xml from HDP-2.6-repo-1: [Errno 256] No more mirrors to try. http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0/repodata/repomd.xml: [Errno 14] HTTP Error 403 – Forbidden when using the command # yum install python-pip While trying to install the package through putty it showed the same kind of error. …

Total answers: 1

"Defaulting to user installation because normal site-packages is not writeable" python message

"Defaulting to user installation because normal site-packages is not writeable" python message Question: Whenever I try to install a new python package I get this message first : Defaulting to user installation because normal site-packages is not writeable even though I have administrator rights and I am running my py scripts and installation commands on …

Total answers: 5

nodejs ask python-minimal that no longer use on python2

nodejs ask python-minimal that no longer use on python2 Question: i use linux nodejs had no problem untill i upgraded my system (sudo apt upgrade) now when i try to install nodejs it say python-minimal mot installed then i knew that it casue of updating python from python2.7.17 to python2.7.18 and python minimal is no …

Total answers: 2

How to install Python on a recent Windows computer in C:Program Files?

How to install Python on a recent Windows computer in C:Program Files? Question: I’m starting to get extremely FURIOUS with the latest Windows environments (Windows 10): I’ve just downloaded and installed Python, version 3.9. The installer proposed to install it under "C:Users…", I thought "No way, because if, for whatever reason, I remove this user, …

Total answers: 1

How to convert .exe file to windows setup wizard

How to convert .exe file to windows setup wizard Question: I was creating an app through Tkinter. And after making I converted into .exe file using pyinstaller. It is good but I want to make it more professional. Like when we download any application from internet and open it it opens a setup wizard with …

Total answers: 2