Is it possible to use pip to install a package from a private GitHub repository?

I am trying to install a Python package from a private GitHub repository. For a public repository, I can issue the following command which works fine: pip install...

Use git commit history to find project hot-spots?

I'm joining a new project with a long and storied commit history, and I'd like to use that history to show me the hot-spots in the project: the files that have been most commonly (and most...

Clone private git repo with dockerfile

I have copied this code from what seems to be various working dockerfiles around, here is mine: FROM ubuntu MAINTAINER Luke Crooks "[email protected]" # Update aptitude with new repo RUN apt-get...

Package develop mode avoid jupyter kernel restart

I am working on a python package as a developper. The package is stored in a git repo and I use a local branch to debug/fix functionnalities of this package. To test the corrections I make to the...

How to ignore 'src' directory in python project when making sphinx autodoc

(alternative description could be 'how to rename a sphinx-autodoc package name?') using sphinx version 1.7 on Python 2.7.13 I would like to automatically create documentation using docstrings and...

How to solve the "remote: You are not allowed to upload code." error on GitLab CI/CD job?

I am currently trying to use GitLab to run a CI/CD job that runs a Python file that makes changes to a particular repository and then commits and pushes those changes to master. I also have a role...

Issue Deploying Install/Updates On GitHub with ClickOnce

I've been trying to figure out the best way to deploy a WPF application with ClickOnce. I'd download the setup file from the GitHub URL, and cross my fingers, and run into this every...

How to change git-bare repository location due to space issues?

I have a git-bare repository location under x:/Archivos Python/EPPTRA2.git/ and all the team is pulling and pushing changes from this repository. /x is a shared disk within our office network. Not...

Install from pipfile using pipenv install gives error

I have a project where I'm trying to install from the pipfile using pipenv install. I get som error when installing. Before i describe the error, this is what I did: Reinstall pipenv Reinstall...

Elasticsearch Data Insertion with Python

I'm brand new to using the Elastic Stack so excuse my lack of knowledge on the subject. I'm running the Elastic Stack on a Windows 10, corporate work computer. I have Git Bash installed for a bash...

Git Heroku error [remote rejected] ... (pre-receive hook declined)

I'm trying to push my repo to my heroku stack but this error comes everytime up: ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to...

Kivy's 3D rendering (monkey rotation) apk crashes on start

Versions: Python: python3 OS: Android Kivy: v1.11.1 Kivy installation method: buildozer I took Kivy's example 3D Rendering (rotation monkey head) app, on Linux(Ubuntu) and Windows 7 application...

ImportError: cannot import name 'rcParams' from 'matplotlib'

I have tried to uninstall and reinstall matplotlib in my tf-gpu enviornment I made but I keep getting this error: ImportError: cannot import name 'rcParams' from 'matplotlib' This is the entire...

Python glove missing module 'glove' 'Glove'

Here is what I performed: Installed pip3 install glove_py ok. In Jupyter Python, import glove works ok. from glove import * Problem: When I try a basic setup code to ensure all the modules are...

'Git: gpg failed to sign the data' in visual studio code

After a fresh Linux install I'm trying to set up my environment and I keep getting the Git: gpg failed to sign the data error upon committing changes locally. I'm using Visual Studio Code,...

BUILD FAILURE: No main.py(o) found in your app directory

I am a beginner in kivy and trying to build an app using Ubunto microsoft app on windows 10 any kind of help will be appreciated. Although I put it in same location of the buildozer.spec I keep...

Unable to import Tkinter

I am using Git Bash to run some code involving Tkinter, but have been unable to run the code and have gotten the error ModuleNotFoundError: No module named 'Tkinter'. I have #!/usr/bin/env/python3...

Import module from different directory with import_module

I have a module in one directory that needs to be imported by a script in a different directory. However, whenever I try to import it, I get a ModuleNotFoundError. I have to keep these in separate...

Error with Pillow library when dockerinzing Django app

I develop Django apps in Windows environnement and deploy my apps in production in Linux server. Python 3.8.3 I have a Django project that works (in dev and prod) and I try to "dockerize" it but I...

Netlify "build.command" failed for gatsby website

I've recently updated some plugins on my Gatsby website. It works fine locally but it is failing the deploy on Netlify. The error I'm getting is: "build.command" failed - Command was killed with...

Cant' build Tailwind CSS

So I'm trying out Taiwlwind CSS for the first time and I'm following a tutorial. I'm sure I've followed the tutorial to the tee and we haven't even gotten anywhere and I can't seem to build, I...

Installation of earlier versions of Python (prior to 3.8) fails on Mac with M1 Chip (ARM based Apple Silicon)

I have Macbook with Apple M1 Chip in which I have to use Python 3.6.5 for my project. It comes with Python 2.7.16 and 3.8.2 preinstalled. I used brew to install Python which by default installed...

youtube_dl ERROR: requested format not available

Code: import tempfile import youtube_dl link =...

Error "Failed to initialize virtualenvwrapper." (WSL Windows 10)

Intro In my WSL (Wsman Shell commandLine, version 0.2.1) on Windows 10, I got pyenv installed and try to use pyenv-virtualenvwrapper. Yet, I can't seem to get it up and running, not even with the...

How to install Boost.Python using homebrew (on OSX)?

I'm trying to install Robot Operating System (ROS) Melodic on my mac (macOS 11.5.1). While compiling cv_bridge package, the compiler spit out an error related to the Boost.Python: $...

I'm getting this error while trying to install d3dshot using pip

ERROR: Command errored out with exit status 1: command: 'c:\users\User\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] =...

Failed building wheel for pillow

Trying to build a wordcloud in python. # Start with loading all necessary libraries import pandas as pd import matplotlib.pyplot as plt from wordcloud import WordCloud pandas imported just fine,...

How to create a Databricks job using a Python file outside of dbfs?

I am fairly new to Databricks, so forgive me for the lack of knowledge here. I am using the Databricks resource in Azure. I mainly use the UI right now, but I know some features are only available...

How to host Sphinx documentation on GitHub Pages?

I recently wrote a Python package and generated some documentation using Sphinx. I added the documentation to the project's GitHub repo and would now like to host the static pages. I read online...

Discord member scraper

This script scrapes all members ids in a server and then saves the ids in ids.json, I want to make it save the ids after scraping a specific number of member ids. So for example I want it to...