environment

Anaconda Environment Doesnt activate

半腔热情 提交于 2019-12-13 01:33:48
问题 So i installed an Anaconda environment according to conda create -n tardis --file https://raw.githubusercontent.com/tardis-sn/tardis/master/pip-requirements python=2 pip Now I am trying to activate the environment using source activate tardis But it's giving me the following error pfrcks@pfrcks~ $ source activate tardis Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for activate Any help ?? 来源: https://stackoverflow

DLL Search Path only partially searched

对着背影说爱祢 提交于 2019-12-12 23:15:45
问题 I just set up a new faster computer to be my development station. I'm having a problem with a DLL not begin found when I run an application I'm working on using Delphi 6 Pro, but I don't think the problem is with Delphi. Keep in mind, I have the exact same setup as far as directories and tools on my old computer and on that computer the DLL is found at runtime without fail. The symptom appears to be that only some of the directories in my PATH environment variable are being searched, and the

Slow loading rails environment

只愿长相守 提交于 2019-12-12 17:19:28
问题 Is it OK that loading my rails environment takes 25 seconds? alhafoudh@xxx:~/Projects/xxx$ time ruby -r./config/environment.rb -e "" real 0m25.320s user 0m22.093s sys 0m1.988s alhafoudh@xxx:~/Projects/xxx$ ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] alhafoudh@xxx:~/Projects/xxx$ gem list | grep rails using rails 3.0.3 I am using also rvm 回答1: I solved it with downgrating my ruby stack to ree-1.8.7 :( 回答2: Bundler 1.1 helps speed things up, somewhat (20-25% gains). Otherwise,

Where to save application logs? [duplicate]

允我心安 提交于 2019-12-12 14:56:35
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Where to store an application log file on Windows Windows seems to have several places where different applications store its logs. Windows services and some applications use the Windows event log, others use C:\ProgramData, another one store them to C:\Users(Local/System/Public/Default)\AppData/(Roaming/Local). I noticed this when developing Windows services that the default (AppData/Roaming) environment

Have tmux windows inherit `activate`d anaconda environment

拜拜、爱过 提交于 2019-12-12 11:56:54
问题 For convenience and given that activate-ing an environment is crazy slow, I want to activate an environment and then start a tmux session. I want all new tmux windows to also have the environment activated. I want different tmux sessions to be able to support different anaconda environments. How do I go about this? Are there any gotchas such that this isn't supported by anaconda / miniconda ? 回答1: What I've done to address this problem is: In .tmux.conf , copy CONDA_DEFAULT_ENV environment

How can an application access the environment variable set by another application?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 11:24:34
问题 In this case the application which sets the environment variable is executed in/from the application that needs to access the env.var. The Main() Return Values (C# Programming Guide) msdn article discusses its use within a batch file. If I try the same, everything is fine; but what is required is to run not from a batch script but from within an application. Process.Start("app","args"); // app sets the env.var. string envVar = System.Environment.GetEnvironmentVariable("ERRORLEVEL"); was

Ansible: How to globally set PATH for solaris

心不动则不痛 提交于 2019-12-12 08:58:22
问题 I am writing Ansible playbooks to setup and install our applications on Solaris servers. The problem is that the (bash) scripts which I need to execute all assume that a certain directory lies on the PATH, namely /data/bin - which would normally not be a problem were it not for Ansible ignoring all the .profile and .bashrc config. Now, I know that you can specify the environment for shell tasks via the environment flag, for example like this: - shell: printenv environment: PATH: /usr/bin:/usr

Eclipse environment for Maya's python modules

孤者浪人 提交于 2019-12-12 08:13:35
问题 I'm trying to set up the Eclipse IDE to recognize the maya.cmds module, an all modules associated with the maya module. The following code are tests run in Eclipse, and Maya's script editor. import maya print 'maya:\n', dir(maya) from maya import cmds print 'cmds:\n', len(dir(cmds)) # too many to print print 'sphere: ', cmds.sphere In Maya's script editor the code results in maya: ['OpenMaya', '_OpenMaya', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'app',

Anaconda: Install specific packages from specific channels using environment.yml

对着背影说爱祢 提交于 2019-12-12 07:14:56
问题 does anyone know how to construct an Anaconda environment.yml file so that it installs specific packages from specific channels? Something like this: dependencies: - numpy - pandas - package-A from channel Z - package-B from channel Y All I could find is that you can specify channels using the channels: command. But apparently it then grabs the packages from the first channel its available on - but I need some packages from very specific channels (but it exists on multiple ones in different

wso2 app server (carbon) startup error

…衆ロ難τιáo~ 提交于 2019-12-12 07:03:23
问题 I am trying to start up the WSO2 app server and get this error. I have nothing deployed except I set up some data services. It was working fine and now it gives this error. I am on Windows 8.1 and running Java 1.7.0_75. I thought I read somewhere about a setup.conf file being corrupted but can't find that article of this file anymore. I do have Java 1.8 on my machine but disabled that in windows and also made sure the java_home is set correctly. Thanks for your help in advance. [2015-07-06 10