conda

Conda's version information on package doesn't correspond to __version__

戏子无情 提交于 2019-12-23 13:58:10
问题 I'm using anaconda (myenv3) foo@foo:~$ which conda /home/foo/anaconda3/bin/conda where in "myenv3" I have dill=2.8.2 installed: (myenv3) foo@foo:~$ conda list -n myenv3 dill # packages in environment at /home/foo/anaconda3/envs/myenv3: # # Name Version Build Channel dill 0.2.8.2 py36_0 conda-forge If I run python , I'll get exactly that environment: (myenv3) foo@foo:~$ which python /home/foo/anaconda3/envs/myenv3/bin/python But if I do, dill appears to have an older version: (myenv3) foo@foo:

conda and pip not working at all

浪尽此生 提交于 2019-12-23 09:37:27
问题 I am on OS X 10.11.2, Anaconda Python 2.7.10. I was installing some dependencies, and suddenly, my conda command started not working at all. Many people suggest conda install python=2.7.10 but when I try that (or any command, even just conda ) I get: Traceback (most recent call last): File "/Users/Can/anaconda/bin/conda", line 5, in sys.exit(main()) File "/Users/Can/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 106, in main from conda.cli import conda_argparse File "/Users/Can

How to silence or suppress gfortran (or clang?) backend in conda?

十年热恋 提交于 2019-12-23 07:26:21
问题 I have been working on building a very particular conda environment designed for python and R with cross-talk using rpy2 . The recipe I came up with that works to install the proper R packages is the following: # install_main_environment.sh now=$(date +"%T") echo "Start Time: $now" ## Create Main Environment (OSX-64) conda create -n python3 python=3 --yes source activate python3 ## Jupyter conda install jupyterlab --yes ## R conda install -c r r --yes conda install -c r r-essentials --yes

Conda command fails silently

北战南征 提交于 2019-12-23 07:06:44
问题 My anaconda is behaving oddly. conda list , conda debug , conda install , all return nothing . I have already reinstalled anaconda2 , checked my path on .profile , and it's all there. 1. which -a conda /Users/me/anaconda2/bin/conda 2. echo $PATH /Users/me/anaconda2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin 3. ~/.profile : # added by Anaconda2 5.0.1 installer export PATH="/Users/me/anaconda2/bin:$PATH" 4. brew doctor : Warning: "config" scripts exist

spacy module install in conda

回眸只為那壹抹淺笑 提交于 2019-12-23 05:04:10
问题 After installing spacy with conda in windows 7 machine I ran the following code: import spacy nlp = spacy.load('en') The error I received is the following: Warning: no model found for 'en' Only loading the 'en' tokenizer. Following some searches I ran the following code on commandline (cmd): python -m spacy download en The error I receive is: Traceback (most recent call last): File "C:\Users\vranjan2\AppData\Local\Continuum\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__",

spacy module install in conda

时间秒杀一切 提交于 2019-12-23 05:03:21
问题 After installing spacy with conda in windows 7 machine I ran the following code: import spacy nlp = spacy.load('en') The error I received is the following: Warning: no model found for 'en' Only loading the 'en' tokenizer. Following some searches I ran the following code on commandline (cmd): python -m spacy download en The error I receive is: Traceback (most recent call last): File "C:\Users\vranjan2\AppData\Local\Continuum\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__",

Python, change interpreter what use system. From anaconda2/bin/python2.7 to /usr/bin/pyhon2.7

你。 提交于 2019-12-23 04:49:20
问题 Hello, stackoverflow I need help again :) How to change default system python interpreter? OR How to solve this? --> Problem comes after installation of anaconda2. It's not "just gnome-tweak-tool" problem of course :). It's obviously that system - somehow - run anaconda-python interpreter, instead /usr/bin/python as a default system python interpreter. Which python status--> I cannot delete Anaconda from my Opensuse Leap 42.1 system... I need just disable him for a while.. THX 回答1: Edit your

conda build is omitting data file sub-directories, even though setup is including them

醉酒当歌 提交于 2019-12-23 02:32:09
问题 I'm using conda build with a Python project that includes documentation, via a MANIFEST.in file and the package_data option to setup() : In MANIFEST.in : recursive-include pybert/doc/_build/html * In setup.py : setup( name='PyBERT', version=pybert.__version__, packages=['pybert',], package_data={'pybert': ['doc/_build/html/*',]}, I'm finding that while setup includes the subdirectories of my html directory: (pybert) Davids-Air-2:PyBERT dbanas$ tar xjf ~/anaconda/conda-bld/noarch/pybert-2.4.1

Emoji not detected with python regular expression in Linux

这一生的挚爱 提交于 2019-12-22 19:52:29
问题 I have a regular expression to detect emojis : emoji = u'(\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f\ude80-\udeff]|[\u2600-\u26FF\u2700-\u27BF])' and I test with this command: re.match(emoji, u'\U0001f602', re.UNICODE) # "😂" The problem is that if finds a match in my macOs machine, but not on Linux Debian Using ipython 4.0.1 and Python 2.7.11 Both from conda distribution. Why the problem matchin on Linux ? 回答1: Your Mac OS has a narrow python build. Try this on it: unichr(0x0001f602) I expect

Emoji not detected with python regular expression in Linux

删除回忆录丶 提交于 2019-12-22 19:51:45
问题 I have a regular expression to detect emojis : emoji = u'(\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f\ude80-\udeff]|[\u2600-\u26FF\u2700-\u27BF])' and I test with this command: re.match(emoji, u'\U0001f602', re.UNICODE) # "😂" The problem is that if finds a match in my macOs machine, but not on Linux Debian Using ipython 4.0.1 and Python 2.7.11 Both from conda distribution. Why the problem matchin on Linux ? 回答1: Your Mac OS has a narrow python build. Try this on it: unichr(0x0001f602) I expect