pip

Python Package with Sub-Packages for Microservice purpose

Python Package with Sub-Packages for Microservice purpose Question: Im currently refactoring my monolith into microserivces. To make them communicate each service has as client module with client in it that call per request the other services. I want to manage the different packages as easy as possible so I created a repository which is my …

Total answers: 1

requirements.txt: any version < 1.5 (incl dev and rc versions)

requirements.txt: any version < 1.5 (incl dev and rc versions) Question: I am looking for a pattern for Python’s requirement.txt (for usage with pip and python 3.10), which will cover all versions available up to a version 1.5, e.g. 1.4.2.dev5+g470a8b8 1.4.dev22+g2be722f 1.4 1.4rc0 1.5rc1 And: is there a clever way to test this without actually …

Total answers: 1

conda: what difference does it make if we set pip_interop_enabled=True?

conda: what difference does it make if we set pip_interop_enabled=True? Question: There are many posts on this site which reference, typically in passing, the idea of setting pip_interop_enabled=True within some environment. This makes conda and pip3 somehow interact better, I am told. To be precise, people say conda will search PyPI for packages that don’t …

Total answers: 1

Can't install Poetry in Ubuntu 20.04 Docker image due to setuptools error

Can't install Poetry in Ubuntu 20.04 Docker image due to setuptools error Question: I’m trying to build the following Dockerfile: FROM ubuntu:20.04 RUN apt-get update && apt-get install -y curl software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt install -y python3.11 python3.11-distutils && curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 && python3.11 -m pip install poetry==1.2.2 However, it fails …

Total answers: 1

Unable to install cx_Oracle with pip

Unable to install cx_Oracle with pip Question: I am currently using the latest version of Python and attempting to install cx_Oracle through the command pip install cx_Oracle. On my first attempt, I encountered an error that stated: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools". To address this, …

Total answers: 1

copying modules from python 3.10 to 3.11 (does not work)

copying modules from python 3.10 to 3.11 (does not work) Question: I am trying to copy modules from python 3.10 to 3.11. I am using windows 11. My understanding is that one just downloads and install the new version of python. I make sure that python is added to path. i follow this instruction: copying …

Total answers: 1

Installing ssdeep package from PyPi on M1 Macbook

Installing ssdeep package from PyPi on M1 Macbook Question: The Goal Install ssdeep PyPi package on a M1 Macbook Pro. The Problem When I run pip install ssdeep I get 2 errors The first error is caused because fuzzy.h cannot be found. warnings.warn( running egg_info creating /private/var/folders/0f/4c82tsj50n10zqq89fndcslc0000gn/T/pip-pip-egg-info-ai0atrdv/ssdeep.egg-info writing /private/var/folders/0f/4c82tsj50n10zqq89fndcslc0000gn/T/pip-pip-egg-info-ai0atrdv/ssdeep.egg-info/PKG-INFO writing dependency_links to /private/var/folders/0f/4c82tsj50n10zqq89fndcslc0000gn/T/pip-pip-egg-info-ai0atrdv/ssdeep.egg-info/dependency_links.txt writing requirements …

Total answers: 3

Error installing any libraries in paycharm

Error installing any libraries in paycharm Question: After calling the "pip install" command of any library, an error occurs: ERROR: Command errored out with exit status 2: command: ‘c:usersromanappdatalocalprogramspythonpython38python.exe’ ‘c:usersromanappdatalocalprogramspythonpython38libsite-packagespip’ install – -ignore-installed –no-user –prefix ‘C:UsersromanAppDataLocalTemppip-build-env-2tu6fau4overlay’ –no-warn-script-location –no-binary :none: –only-binary :no ne: -i https://pypi.org/simple — ‘setuptools>=40.8.0’ wheel cwd: None Complete output (24 lines): Collecting setuptools>=40.8.0 …

Total answers: 1

Unable to import libraries in python even though i have the libraries installed

Unable to import libraries in python even though i have the libraries installed Question: I can’t import libraries in python that I have installed using pip as shown here. Even other libraries such as PySimpleGui and PyGame don’t work when I try to import them. I have tried uninstalling and reinstalling the libraries and I …

Total answers: 3