Unable to install my custom pip package from https://packagecloud.io/
But I'm getting an error when I try to install the same package in Ubutbu 18.04 .
root@1522cdc94a23:/# pip3 install mycli==0.0.1a0 Collecting mycli==0.0.1a0 Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file require_hashes File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link self.link = finder.find_requirement(self, upgrade) File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement all_candidates = self.find_all_candidates(req.name) File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages page = self._get_page(location) File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page return HTMLPage.get_page(link, session=self.session) File "/usr/lib/python3/dist-packages/pip/index.py", line 795, in get_page resp.raise_for_status() File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/mycli/
Verified the extra-index-url parameter in ~/.pip/pip.conf. Its having the packagecloud.in url
Added --index-url as per the suggestion. Yep. it's working. But another default sample package ( from packagecloud.io) is working as expected without --index-url
~$ cat ~/.pip/pip.conf [global] extra-index-url=https://<token>:@packagecloud.io/sivak/MyTest/pypi/simple
packagecloud_test-0.9.7b1.tar.gz is the test package which is provided by packagecloud.io for testing.
By default, pip search for packages on pypi.org.
Just tell pip to search in another repository with:
pip install --index-url https://packagecloud.io/ mycli==0.0.1a0
Trying that may confirm a pip configuration problem in your
packagecloud Documentation, Note that, unfortuantely, you cannot generate consistent APT Install necessary tools Start by installing the command line tool In this example, we're going to import a package named jake_1.0-7_amd64.deb to the repository for the way to create a Debian repository is to sign up at packagecloud.io. When you install a package using npm install, the npm program will automatically attempt to install any dependencies required by the package. If those dependencies are not found in your packagecloud repository, packagecloud will automatically forward requests for those missing dependencies to the official NPM public registry.
Are you sure that the version you ask exists on the desired remote?
It seems that available versions in the error message below does not mention version
ERROR: Could not find a version that satisfies the requirement mycli==0.0.1a0 (from versions: 1.0.0, 1.0.1, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 18.104.22.168, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.20.1) ERROR: No matching distribution found for mycli==0.0.1a0
Just remove the revision requirement on install command:
pip3 install mycli
HOWTO: Create debian repositories with reprepro, <https://packagecloud.io/api/v1/repos/julio/test/packages.json?page=5>; rel="last ", python. GET /api/v1/repos/:user/:repo/package/python/:package/:version/stats / Retrieve the number of times a particular repository has been installed given a of this artifact if they cannot be computed from metadata within the package. When you install a package using npm install, the npm program will automatically attempt to install any dependencies required by the package. If those dependencies are not found in your packagecloud repository, packagecloud will automatically forward requests for those missing dependencies to the official NPM public registry.
The issue has been resolved when I update the pip. I guess there was a bug in pip version: 9.0.1.
packagecloud API Documentation, pip install pyinstaller==3.4 Collecting pip Using cached https://files.pythonhosted. org/packages/60/ pradyunsg added the C: PEP 517 impact label on Jan 22, 2019 pip 19.0 fails to install PyInstaller pyinstaller/pyinstaller#4003 Added an example of how to use a custom ``parserinfo`` subclass to parse� PIP is a package management system used to install and manage software packages written in Python. It stands for “preferred installer program” or “Pip Installs Packages.” PIP for Python is a utility to manage PyPI package installations from the command line. If you are using an older version of Python on Windows, you may need to install
pip 19.0 fails to install packages that import to-be-installed package , Could not install requirement pip from https://files.pythonhosted.org/packages/62/ a1/ on Apr 16, 2018. Redirects fix doesn't solve the issue #3702 #3706. Closed curl https://bootstrap.pypa.io/get-pip.py | python3. Instead of� Manage all of your packages and deploy to any environment, from one beautiful interface, on-premise or in the cloud. Packagecloud supports most popular package types, from Java to Python to Ruby and Node, and more.
404 when download package � Issue #3705 � pypa/warehouse , To install Ubuntu packages that are not included in the standard precise, trusty, xenial, or bionic Additionally, some packages may fail to update, which will lead to a failed build. Installing Packages from a custom APT repository # sourceline: 'deb https://packagecloud.io/chef/stable/ubuntu/precise main' key_url: � Installing Packages¶. This section covers the basics of how to install Python packages.. It’s important to note that the term “package” in this context is being used as a synonym for a distribution (i.e. a bundle of software to be installed), not to refer to the kind of package that you import in your Python source code (i.e. a container of modules).
Installing Dependencies - Travis CI, You can use standard Linux package management tools to install these upgraded sudo apt-get update Get:7 https://packagecloud.io/StackStorm/stable /ubuntu xenial are run, then the mistral-db-manage upgrade head command may fail. sudo /opt/stackstorm/st2/bin/pip install --find-links /opt/stackstorm/ share/wheels� When you install a package using npm install, the npm program will automatically attempt to install any dependencies required by the package. If those dependencies are not found in your packagecloud repository, packagecloud will automatically forward requests for those missing dependencies to the official NPM public registry.