miniconda

ValueError with spacy.load('en_core_web_sm')

二次信任 提交于 2019-12-08 01:52:43
问题 I'm getting ValueError: could not broadcast input array from shape (96) into shape (128) for spacy.load('en_core_web_sm') I manually downloaded and installed the model as i'm working on a work computer with download restrictions. I have followed the instructions to download and copy from this link: https://github.com/explosion/spaCy/issues/3113 Copy the folder Python35\lib\site-packages\en_core_web_sm create a folder named en in Python35\Lib\site-packages\spacy\data , paste the copied

Installing tensorflow in cloned conda environment breaks conda environment it was cloned from

自闭症网瘾萝莉.ら 提交于 2019-12-07 23:55:57
问题 I just cloned a working miniconda environment carnd-term1-gpu that had tensorflow with gpu working using tensorflow version '0.12.1'. The environment had a lot of other python packages installed. I wanted to upgrade to the latest version of tensorflow so I did the following based on tensorflow Ubuntu: 1) cloned the existing working environment as tflow conda create --name tflow --clone carnd-term1-gpu This completed successfully. 2) source activate tflow and install using pip source activate

CondaVerificationError: || ClobberError: Create a new conda environment with Python 2.7.x or 3.7.x

做~自己de王妃 提交于 2019-12-07 08:05:56
问题 While Creating a new conda environment with Python 2.7.x or 3.7.x using conda create -n gl-env python=2.7 anaconda=4.0.0 I get the following errors Preparing transaction: done Verifying transaction: failed CondaVerificationError: The package for bokeh located at C:\Users\kokul\Miniconda3\pkgs\bokeh-0.11.1-py27_0 appears to be corrupted. The path 'Scripts/bokeh-script.py-server' specified in the package manifest cannot be found. ClobberError: This transaction has incompatible packages due to a

This application failed to start because it could not find or load the Qt platform plugin “xcb” in “”

余生长醉 提交于 2019-12-07 02:42:29
I have an application which runs using Qt5 (via PyQt). I am using miniconda and the python code has been cythonised. The code was setup on my local machine, the cython code produced from the original .py files and the relevant libraries and modules installed in miniconda such that the code runs successfully. Then I ship everything to another machine, compile the cython code to give .so files and attempt to run it. At this point I get the error: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this

ValueError with spacy.load('en_core_web_sm')

江枫思渺然 提交于 2019-12-06 11:13:41
I'm getting ValueError: could not broadcast input array from shape (96) into shape (128) for spacy.load('en_core_web_sm') I manually downloaded and installed the model as i'm working on a work computer with download restrictions. I have followed the instructions to download and copy from this link: https://github.com/explosion/spaCy/issues/3113 Copy the folder Python35\lib\site-packages\en_core_web_sm create a folder named en in Python35\Lib\site-packages\spacy\data , paste the copied contents to en, and rename the folder as en_core_web_sm-2.0.0. Copy the __init__.py file in en_core_web_sm and

Activate and switch Anaconda environment in Dockerfile during build

穿精又带淫゛_ 提交于 2019-12-05 10:10:34
I've been trying for hours and can't figure out how to activate and switch anaconda environments in a Dockerfile during the build process Here's the initial code: FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu16.04 # Set user ENV SETUSER myuser RUN useradd -m $SETUSER USER $SETUSER WORKDIR /home/$SETUSER # Install Anaconda RUN wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh RUN bash Anaconda3-2019.03-Linux-x86_64.sh -b RUN rm Anaconda3-2019.03-Linux-x86_64.sh # Set path to conda ENV CONDA_ENV_NAME mynewenv RUN /home/$SETUSER/anaconda3/condabin/conda create -q --name $CONDA

How can I launch an exe within a conda env

旧时模样 提交于 2019-12-04 08:31:25
I'm using vscode in Windows 10 as my code editor, and want to make an easy way to launch it with the correct conda env to allow debugging. Currently I am having to open a command prompt, then activate the conda env, then paste the shortcut to vscode into the prompt to execute. Like so: cmd activate env-name "C:\Program Files (x86)\Microsoft VS Code\Code.exe" I have tried creating a batch file to wrap these calls, but unfortunately once I call "source activate" to start the conda env, the batch commands after this are not executed as it is considered another instance. Any tips? Other than

conda: remove all installed packages from base/root environment

半城伤御伤魂 提交于 2019-12-03 15:33:53
问题 TL:DR: How can I remove all installed packages from base ? I installed a bunch of machine learning packages in my base conda environment. I've now created a ml environment for machine learning, and wish to reset my base environment by removing all the packages installed there. I've tried: % activate base % conda uninstall -n base --all CondaEnvironmentError: cannot remove current environment. deactivate and run conda remove again Apparently, I can't remove packages from the current

Explanation of different conda channels

房东的猫 提交于 2019-12-03 08:29:40
问题 What are the major conda channels, and what are their focuses? I can't seem to find any documentation on what major channels are available and when to choose one over the other. What is the relationship to the "default" channel? How does one decide what order to put them in? In general, I use anaconda conda_forge r bioconda defaults But I've been running into some problems with my environment breaking. 回答1: anaconda conda-forge r bioconda These are all channels from which packages can be

Get the Anaconda prompt running in the PyCharm terminal

五迷三道 提交于 2019-12-03 07:44:05
问题 I have Miniconda3 installed at C:\Users\me\Miniconda3, and my 'Project Interpreter' within PyCharm set to my conda environment, and that is all working correctly. However it appears that conda is not set for my path variable as if I type conda into the PyCharm Terminal I get 'conda' is not recognized as an internal or external command, operable program or batch file. Is there a way to set the PyCharm Terminal to behave like the Anaconda Prompt? I have Windows 10, PyCharm 2018.1 EAP, and conda