package-managers

Unable to update conda packages behind corporate firewall. Updated .condarc file, proxy settings still it is asking for Proxy user name and password

感情迁移 提交于 2019-12-03 15:03:41
问题 I am behind a corporate firewall. I am trying to update the conda packages by running : conda update --all This is aking me for proxy user name and password. https proxy username: https proxy username: Password: After reading many articles on this problems i have taken help from my IT people and updated the proxy_server content in ".condarc" file as follows: binstar_upload: true channels: - https://conda.binstar.org/numba - https://pypi.python.org/simple/ - defaults proxy_servers: http: http:

open android own launcher from my application

安稳与你 提交于 2019-12-03 13:31:43
问题 hi Its been 2 days looking for this simple problem. I want to launch Android own launcher from my application EVEN if its not set as default. final PackageManager packageManager=getPackageManager(); Intent intent = packageManager.getLaunchIntentForPackage("com.android.launcher"); this return null for Android own launcher but if I try custom launcher is give me successfully 回答1: Found the solution, after investigating source code of getLaunchIntentForPackage. As per documentation, The current

Why cabal sandbox init does not change PATH like virtualenv does?

荒凉一梦 提交于 2019-12-03 12:37:40
Haskell newbie and Python guy here. I think I may be missing something here but if you look at Yesod's quickstart , the autor install some packages before cabal sandbox init . I have seen the same pattern elsewhere. Questions: Am I missing something? Is this the real way to use cabal sandbox? Why can't (or shouldn't) I install yesod-bin inside a sandbox? What if I use different versions of yesod-bin throughout some projects? If there is some libraries that install binaries inside .cabal-sandbox/bin, why cabal sandbox init don't change PATH in order to match the sandboxed version? Thank you

NuGet Package Restore is not restoring packages on build

这一生的挚爱 提交于 2019-12-03 11:33:54
I am moving our source code from Vault to TFS, not bothering with the migration or anything, just pulling a get latest in vault and adding it to TFS. The solution has got several projects, and each one has at least one NuGet package. I am trying to get Package Restore working again. It worked in Vault (but not the way it was supposed to). I was under a bit of a deadline, and it did not work at first, so I added a Pre-Build event to run nuget.exe against the packages.config for each project. TFS build service complains about that, so I am trying to get it working "right". I have set the option

Multiple package manager [closed]

*爱你&永不变心* 提交于 2019-12-03 07:26:16
Is there a pitfall of using multiple package managers? Could I use Redhat's yum with Debian's aptitude at the same time? I came across this article and this infographic - I was inclined to choose Debian, but a quick VM install showed that the Kernel is not upgraded to 3.2 in the stable repo yet. So I am planning to move to Archlinux, but the infographic rates it low on package availablity and I was wondering if I could install .deb or .rpm files from the Fedora or Ubuntu repositories. The short answer is, yes you can , but you really shouldn't . Below is a list of things (in no particular

Package Manager in Android

给你一囗甜甜゛ 提交于 2019-12-03 06:53:26
问题 I am trying to understand the Android PackageManager (functionality and uses) and the new improvements in Ice Cream Sandwich for PackageManager over previous versions. I have seen the following links and some old threads but still would appreciate if someone can provide me with more references or an explanation as very little is available on the internet. PackageManager Android docs Wikipedia - Package Manager EDIT: I wanted to broaden my understanding about PackageManager in android. How it

Can't import packages using Swift 4 Package Manager

杀马特。学长 韩版系。学妹 提交于 2019-12-03 06:40:28
问题 Trying to test Swift 4 using Xcode-beta (v9) on my machine and having issues with importing packages into a test project: Initiated project using swift package init --type executable Changed Package.swift and added 2 projects to try out: Package.swift // swift-tools-version:4.0 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "sampleproject", dependencies: [ // Dependencies declare other

Installing nuget package from GitHub

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 05:36:17
The command: Install-Package curve25519-uwp installs version 1.0.3 of this package ( https://www.nuget.org/packages/curve25519-uwp/ ) On GitHub there is a version 1.0.4 that fixes a specific error I am facing. Can anyone explain how to get that package installed? I am using visual studio 2015 community edition with git tools installed. Philippe With NuGet, there is no way to take a pre-version from a Git repository. You could: Ask for the release of a new version of the NuGet package, or at least a pre-release. Clone the repository, build the version, and replace the NuGet package with a local

How make bower build the package?

左心房为你撑大大i 提交于 2019-12-03 05:31:23
Is there a way to make bower run a package grunt after it was cloned from GitHub? I'm trying to use Bower but one of the packages I'm using is the Bootstrap extension, x-editable. The problem is that while other packages push a fully built version to github so when installed by Bower you have a built version x-editable expect you to run a grunt file to build the package. That is a common practice in other package managers like npm but I could find how to make Bower build it on install. Which means I need another mechanism to complete the installation of the package. Building on install is an

Searching PyPI by topic

我是研究僧i 提交于 2019-12-03 05:14:34
For every python package you can specify a list of classifiers . Among others there is a Topic classifier, that puts the package in the specified categories that can be browsed on PyPI . For example, numpy has the following topics: Topic :: Software Development Topic :: Scientific/Engineering Is there a way to search by topic programmatically using pip search or other third-party libraries? You can search PyPI by classifier via the XMLRPC API , using the browse() method: try: import xmlrpclib # Python 2 except ImportError: import xmlrpc.client as xmlrpclib # Python 3 pypi = xmlrpclib