pip

I am getting an error when i run twine upload

I am getting an error when i run twine upload Question: I ran this command: twine upload ./* and this error happened: Uploading distributions to https://upload.pypi.org/legacy/ ERROR InvalidDistribution: Unknown distribution format: ‘dist’ edit: I forgot to run it in the dist folder Asked By: tjwllms52 || Source Answers: Well, what does ./* expand to? Chances …

Total answers: 1

Can't update packages via pip in google colab

Can't update packages via pip in google colab Question: I’m trying to run a python deep learning model with google colab, and I’m still after installing tflite-model-maker and tflite-support with this codeĀ  !pip install -q tflite-model-maker !pip install -q tflite-support this error: ERROR: pip’s dependency resolver does not currently take into account all the packages …

Total answers: 1

How to resolve, Import "pqcrypto" could not be resolved?

How to resolve, Import "pqcrypto" could not be resolved? Question: I am trying to use the pqcrypto library but can not resolve the issue: Import "pqcrypto" could not be resolved Pylance (reportMissingImports) I am using python 3.10.6 on a ubuntu 22.4 virtual machine (virtual box). Pip version 23.0.1. Initially I could not pip install this …

Total answers: 1

Import "…" could not be resolved MacOs – Environment

Import "…" could not be resolved MacOs – Environment Question: I have a repetitive problems almost in all my projects. I use separate environments for each project, then I install related libraries for them. I used pip or brew for installation. But most of the time I had this error: Import "…" could not be …

Total answers: 3

Is there a better alternative to pip-autoremove?

Is there a better alternative to pip-autoremove? Question: I’ve recently been trying to use best practices when installing packages: Only installing global packages when it makes sense. Using virtual environments 99% of the time. Uninstalling packages whenever they are no longer needed. I find this to work well for me. However, #3 is a pain …

Total answers: 1

Python problem with libraries. I got some error

Python problem with libraries. I got some error Question: I was trying to download imageai using pip module and I got following error: ERROR: tensorflow-intel 2.11.0 has requirement keras<2.12,>=2.11.0, but you’ll have keras 2.4.3 which is incompatible. ERROR: tensorflow-intel 2.11.0 has requirement numpy>=1.20, but you’ll have numpy 1.19.3 which is incompatible. I don’t know what …

Total answers: 1

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