package-managers

How to clean local python environment of conda installs

邮差的信 提交于 2019-12-12 04:08:52
问题 Using the latest miniconda2 I created a conda environment & then did all my conda package installs. Then when I finished I realized I had FORGOT TO ACTIVATE the environment (I'm dizzy) with the command source activate myenv so all my conda installs went into the local/system wide environment. I simply did conda uninstall package-name for all the packages but I'm certain not all the dependencies were removed. For example, conda install of matplotlib showed The following NEW packages will be

Sublime Text 2 Package Control installed but is deleted upon Restart

浪子不回头ぞ 提交于 2019-12-12 02:44:42
问题 I have copied Package Control.sublime-package in the directory ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/ as per instructions in https://packagecontrol.io/installation#st2 However, after restarting Sublime, the file gets deleted! None of the answers in Sublime Text 2 - Package Control installed but the list not shown helps to solve this problem. Any idea what is going on here? 来源: https://stackoverflow.com/questions/33844131/sublime-text-2-package-control-installed

NPM packages not nesting in Visual Studio with latest Node

风流意气都作罢 提交于 2019-12-11 22:07:52
问题 After starting a standard ASP.Net 5 Web Application, and adding npm packages, VS2015 has stopped nesting them. Even with one simple package such as 'del', I see - I'm sure it should be showing just the primary package, with its dependencies nested beneath it. VS is now doing this across all projects, whereas they used to be neatly nested. Adding two or three packages ends up with an enormous and unmanageable list of extraneous packages. If I run npm list from the command prompt, the output

Getting the .so files list using packagemanager

萝らか妹 提交于 2019-12-11 20:51:21
问题 Is there way to get libs/nativearch/<.so files> listed from the package-manager. Considering that apps like apk-info do it, I guess there should be a way to get the supported architecture of the package as well the listed .so files inside each folder. Any idea on this? 回答1: PackageManager won't tell you this directly. However it will tell you the filename of the app's APK file (via ApplicationInfo.sourceDir), and you can then use ZipFile to iterate through all the files in the apk, to get a

Build2 analog of CMake's find_package

守給你的承諾、 提交于 2019-12-11 17:23:28
问题 Is there are any mechanism in Build2 like CMake's find_package? How to can i include a library that exists only on my system and not in package manager packages? 回答1: To use foo as dependency in your bar project, you need to add a line: cxx.libs += -lfoo in ~/bar/bar/buildfile 来源: https://stackoverflow.com/questions/57296089/build2-analog-of-cmakes-find-package

RedHat, which package provides hdf5.h

最后都变了- 提交于 2019-12-11 16:16:45
问题 Using RedHat Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux . I mean to have hdf5.h . In another Ubuntu system Linux 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I can do $ dpkg -S /usr/include/hdf5.h libhdf5-openmpi-dev: /usr/include/hdf5.h In RedHat I executed # yum whatprovides "*/hdf5.h" Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is receiving

Julia: How to update to the latest version of a package (i.e. Flux)

时光怂恿深爱的人放手 提交于 2019-12-11 16:09:35
问题 I have Julia 1.1 I want to update to the latest version of a package, in this case Flux 8.3.0 according to documentetiation of Flux.jl when I type Pkg.status("Flux") I get Status `~/.julia/environments/v1.1/Project.toml` [587475ba] Flux v0.6.10 I also tried both: Pkg.add("Flux") Pkg.update("Flux") But it does not change the version EDIT I tried the following command after the comment from Bogumił Kamiński Pkg.update() gives me Updating registry at `~/.julia/registries/General` ┌ Warning: Some

Determine list of non-OS packages installed on a RedHat Linux machine

十年热恋 提交于 2019-12-11 13:56:29
问题 I have been tasked with identifying new (non-operating system) software installed on several Red Hat Enterprise Linux (RHEL) machines. Can anyone suggest an efficient way to do this? The way I was doing it is manually comparing the list of installed software with the list on Red Hat's FTP site for the relevant operating system: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ The problems I am encountering with this method is it is tedious / timeconsuming, and just the

Installing platform-specific dependencies through PIP

╄→гoц情女王★ 提交于 2019-12-11 11:20:04
问题 I'm using LDTP in my tests and it comes as two different packages for two different platforms: PyAtom on Mac OS; LDTP on Linux. It so happens, that both of them has platform-specific binaries and can't really be installed on other OSes. My question is, how do I make my requirements.txt to install packages dependent on platform? Ideally it should be something like: mac: -e git+https://github.com/pyatom/pyatom.git@1ca0c6a0343000286a328268899d1aab376d8e82#egg=atomac-master linux: ldtp==3.5.0

Proper usage of Chocolatey (package update / version management)

核能气质少年 提交于 2019-12-11 03:58:34
问题 NOTE: This question was valid for Chocolatey 0.9.8 and bellow. Later versions are completely rewritten from PowerShell scripts to a C# application and whole process of package management was improved a lot. I have been using Chocolatey for some time. At the beginning I was excited, but after some time I'm not sure if it's usable yet. I'm concerned the most about proper way of package updating. For example, I have installed Atom editor using Chocolatey . New versions of Atom are released