miniconda

Why does conda install tk not work in my docker container even though it says its installed?

纵然是瞬间 提交于 2019-12-14 03:58:42
问题 I was having issues with tk in my python 3 docker container. I tried: conda install tk but it says it did install it root@36602e2cd649:/home_simulation_research/overparametrized_experiments/pytorch_experiments# conda install tk Fetching package metadata ........... Solving package specifications: . # All requested packages already installed. # packages in environment at /opt/conda: # tk 8.6.7 h5979e9b_1 but when I go to python and try to import it it does not work: >>> import Tkinter

Cannot create environment in anaconda, update conda , install packages

邮差的信 提交于 2019-12-14 03:22:05
问题 CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2 Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team. ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded

Looking for a cross-platform (Linux, MacOS, Windows) tool for managing Python environments

早过忘川 提交于 2019-12-13 03:59:01
问题 I was investigating the use of Anaconda environments for CI/CD (since, to my knowledge, it is the only platform that supports Linux, MacOS, and Windows). I tried to use Miniconda which is supposed to only install the bare minimum. However, I realised that, by default, Miniconda is not "mini" after all. For example, if I attempt to create a new Python environment ( conda create -n py36 python=3.6 anaconda ), it will install a bunch of not needed stuff like JupyterLab and others. So, before

Matplotlib plot window is white blank without showing any image

橙三吉。 提交于 2019-12-13 03:12:47
问题 I am on Mac OS 10.14.4. I have python installed in miniconda3 environment. Below is the list of packages with "conda list" The issue I am having is when I run "python" in the terminal and open the shell I try to run the codes one by one. import openmc sp1 = openmc.StatePoint('statepoint.550-20.h5') tally1 = sp1.tallies[1] flux1 = tally1.mean.ravel() import matplotlib.pyplot as plt import numpy as np y = np.reshape(flux1, (200,200)) plt.imshow(y, cmap=plt.cm.viridis) plt.show() The issue I am

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 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

Why would conda package installation and update clobber conda?

不打扰是莪最后的温柔 提交于 2019-12-11 15:11:29
问题 A little backstory. I was trying to install a git project csv2ofx and it has a requirement, pkutils . In my haste I installed peakutils . (I can only fine pkutils on pypi, but that's another story.) > conda install -c anaconda peakutils. [...] The following packages will be downloaded: package | build ---------------------------|----------------- bzip2-1.0.8 | he774522_0 150 KB anaconda ca-certificates-2019.5.15 | 0 166 KB anaconda certifi-2019.6.16 | py36_0 155 KB anaconda conda-4.7.10 |

Miniconda3: No packages found in current win-32 channels matching issue

£可爱£侵袭症+ 提交于 2019-12-11 12:26:14
问题 I've been following a guide in how to install Miniconda3 and use that to install different packages as NumPy and SciPy . However, after installing Miniconda3 and opened a new project in PyCharm, the guide tells me that I should write: conda install numpy ...which returned: Fetching package metadata: Could not connect to https://repo.continuum.io/pkgs/free/noarch/ Could not connect to https://repo.continuum.io/pkgs/pro/win-32/ Could not connect to https://repo.continuum.io/pkgs/free/win-32/

Which version of Miniconda has Python 3.6 for Windows 64-bit?

风格不统一 提交于 2019-12-10 15:19:43
问题 I'm working on a project which need these deep learning libraries - keras and tensorflow. Unfortunately, these do not work with Python 3.7. Can someone please tell me a Miniconda version (for Windows 64-bit) which has Python 3.6? I've tried creating virtual environment with Python 3.6, but the libraries don't install properly. Any help will be appreciated! Thanks! 回答1: I just downloaded Miniconda3-4.3.31 for Windows 64bit and it came with Python 3.6.3. https://repo.continuum.io/miniconda/

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

送分小仙女□ 提交于 2019-12-08 05:46:23
问题 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