I am testing and building a lot of containers over a somewhat slow internet connection. Every time I test a rebuild it has to re-download all the apt and pip packages. I have seen a couple solutions to cache locally with docker, but I need the build process to work for other developers and also during deploy. I have also
Tag: pip
Encountering Fatal Python error when I try to use pip in command prompt
I am a new programmer who is trying to follow this tutorial about pip. In the tutorial, you are asked to go into command prompt and type ‘pip’. You are supposed to get a list of general options and commands. However, when I type pip in my command prompt, I get this instead: (I am using Windows 10 and Python
Numpy install requirement on package fails on pip install from PyPI but not from .whl
I recently build my first python package and tried to test distribution with test.pypi.org (Github repo Test PyPI) Code for building the dist: Code for uploading to Test PyPI: Then I created and empty conda env to test the installation with: In this enviroment I used succesfully pip install with wheel file: But if I try to install it from
Problems installing lxml on M1 mac
So, I’m having the classic trouble install lxml. Initially I was just pip installing, but when I tried to free up memory using Element.clear() I was getting the following error: I thought this must be because lxml is using the system’s libxml2 which is probably out of date. So I used homebrew to install libxml2 and libxlt, and I force
Upgrading pip to latest version using pip in conda using environment.yaml
I am trying to create an environment using environment.yaml, and for some reason the default pip installed in my environment by conda takes a long time to process the dependencies. For this reason, I am trying to somehow upgrade the pip version in the conda envrionment file. The pip version that comes with this installation is pip 21.2.2 . I
Pip Package dependency overriding specified version in requirements.txt
I got a Flask App and installed the dependencies out of the requirements.txt. I got the following error when running my App: MarkupSafe is a package required by Jinja2 which in turn is required by Flask. I soon found out that downgrading MarkupSafe from version 2.1.1 to 2.0.1 fixes the issue, and I adapted my requirements.txt: But after installing, I
Why Can’t I Add Azure DB Extension on Mac?
I am following this guide: https://learn.microsoft.com/en-us/azure/app-service/tutorial-python-postgresql-app?tabs=bash%2Cclone&pivots=postgres-single-server After successfully completing Step 1 and Step 2, I get to Step 3: “Install the db-up extension for the Azure CLI: az extension add –name db-up” Yet, when I run this command, I receive the following output: Any ideas here? I’ve tried some of the solutions to similar errors I’ve found on Stack/GitHub, but
error install PyQt5 on Yocto Linux – board Variscite
I have a problem installing a PyQt5 python package. I am in Yocto Linux environment (Hardknott kernel 5.10.35) on the Variscite board (DART-MX8M-PLUS). This is the log when I try to install with pip: Instead, this is the list of currently installed python packages: How can it be solved? Thanks in advance! Answer Do not bother installing packages natively on
Already updated my pip, still failed to add circle as a module
I have been searching for different methods for using a class method to create circles. At first, I was able to print ‘c1’, however, after updating my python, it said is not defined which confuses me. Is there any method that I can solve it or any recommended websites for such programming functions? Thank you. Answer There’s a few things
ModuleNotFoundError for ibm-watson-machine-learning package
I entered following command in my jupyter notebook: !pip install -U ibm-watson-machine-learning and with I can see the package install with !pip list. But when I try to import like so: import ibm_watson_machine_learning, I get following error: ModuleNotFoundError: No module named ‘ibm_watson_machine_learning’. Answer SOLVED: For me, I simply needed to update all my packages in conda with conda upgrade –all.