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 04:56:24
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://poPYtheSailor:spinach\@1234@1.1.1.1:5080 https: https://poPYtheSailor:spinach\@1234@1.1.1.1:5080 ssl

Lua's package management system?

这一生的挚爱 提交于 2019-12-03 04:26:00
What's the Lua's standard package management system and repository? Like brew for Mac OS X , npm for node.js . There is no standard Lua package management system, but you can try out the following: LuaRocks - contains a rather large number of Lua modules distributed as rocks . Once LuaRocks is installed, the installation is simple: luarocks install desired-package . On Linux/Unix/Mac, this will install into /usr/local/{share,lib}/lua/5.1 , where the Lua interpreter looks for modules. LuaDist - designed to create an independent standalone directory with Lua and modules (a dist ). Everything in

Package Manager vs Dependency Manager

此生再无相见时 提交于 2019-12-03 03:41:36
问题 What are the differences? In many places they used interchangeably as synonyms but I think they are different. What is the key difference in short? 回答1: TLTR: Package Manager is used for SYSTEM and Dependency Manager for PROJECT Package Manager - is used to configure system, ie to setup your development environment and with these settings you can build many projects. Dependency Manager - Is specific to project. You manage all dependencies for a single project and those dependencies are going

open android own launcher from my application

不想你离开。 提交于 2019-12-03 03:26:21
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 Found the solution, after investigating source code of getLaunchIntentForPackage . As per documentation, The current implementation will look first for a main activity in the category CATEGORY_INFO, next for a main activity

Alpine Add Package from Edge repository

 ̄綄美尐妖づ 提交于 2019-12-03 02:27:12
If I'm using Alpine 3.8, how can I add a specific package from the Alpine Edge repository? Is this even supported? There is no equivalent of backports, from what I can see. I want to add the new version of this: https://pkgs.alpinelinux.org/package/edge/community/armhf/librdkafka And not the older version in the 3.8 repo: https://pkgs.alpinelinux.org/package/v3.8/community/s390x/librdkafka You could specify the exact repo to apk, using the --repository parameter. In your case: apk add librdkafka --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main Edge repository may be enabled

Package Manager: Bower vs jspm

会有一股神秘感。 提交于 2019-12-03 02:02:07
问题 How is Bower different than jspm? Can Bower provide jspm functionality about SystemJS universal module loader? 回答1: Well JSPM is much larger and ambitious project than Bower. Bower has only one purpose-to download source files you need from the web to your hard disk. For you as a consumer, bower doesn't do anything else. If you want to execute script files from bower, you need to create your script tags for each of them. While jspm is not only a module downloader. It downloads by default

Should I install node.js on Ubuntu using package manager or from source?

寵の児 提交于 2019-12-02 21:18:46
Does anyone know if installing the latest build from source is a risky route to take? Should i just stick with the package manager? Current recommendations Use nvm if you want to install with your user account. (I personally prefer this) Follow the directions here to install via apt using a PPA. Old Answer Note: At the time of this writing I'm using Ubuntu 12.10. There are a lot of ways to install node. I personally prefer to download the source of the latest stable build and just install it to ~/local (you do this by adding --prefix to the ./configure command as seen here . There really isn't

How to obtain older versions of packages using MSYS2?

允我心安 提交于 2019-12-02 20:32:10
I decided to try CLion for Windows, which recommends either MinGW or Cygwin for compilation. I installed the MSYS2 package manager into the default folder, C:\msys64 , updated it by running update-core and pacman -Su . I then downloaded the MinGW64 package using pacman -S mingw-w64-x86_64-gcc , which has been placed into C:\msys64\mingw64 . The problem is, pacman -S mingw-w64-x86_64-gcc currently downloads the version 5.0, which is not yet supported by CLion. Does MSYS2 support installing older versions of packages (the MinGW version 4.9.2 should work just fine)? I tried searching for the

Can't import packages using Swift 4 Package Manager

拈花ヽ惹草 提交于 2019-12-02 20:19:40
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 packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), .package(url:

How to install wxversion for Python

会有一股神秘感。 提交于 2019-12-02 17:52:54
问题 I'm experimenting with the "SPy" Spectral Python library, using PyCharm, and I've gotten to the point where it tells me that wxversion was not found. How can I install wxversion? I'm very new to Python in general, so am I doing something else wrong? Here is my code: import matplotlib #matplotlib.use('WX') #Replaced by editing matplotlibrc from spectral import * img = open_image('92AV3C.lan') print img.__class__ print print img print print img.shape pixel = img[50,100] print print pixel.shape