Anaconda

What does conda env do under the hood?

无人久伴 提交于 2020-05-15 03:38:09
问题 After searching and not finding, I must ask here: How does conda env work under the hood, meaning, how does anaconda handle environments? To clarify, I would like an answer or a reference to questions like: What is kept in the envs/myenv folder? What happens upon activate myenv ? What happens upon conda install ... ? Where can i find such information? 回答1: Conda envs Basically, conda environments replicate the structure of your system, meaning it will store /bin , /lib , /etc , /var , among

How to run Anaconda Python on sudo

半城伤御伤魂 提交于 2020-05-14 09:43:23
问题 Currently using AWS to run some tests on a machine learning project. I would like to run Python scripts without internet (via root) because the internet bandwidth is extremely limited. I try to run the convnets.py script by doing sudo python convnets.py >> output But that does not work, as Anaconda does not use PYTHONPATH, making it impossible for root to find the Anaconda Python environment. So errors like "cannot import" and "module not found" are thrown. How do I set this up so I can get

anaconda navigator will no longer start even through cmd, won't install or update or manage environments

a 夏天 提交于 2020-05-14 03:54:18
问题 I'm new to django and using the anaconda cloud environment . Its been working well for 3 months plus but as of 7-24-2018 it is just stop to launch the navigator or open through cmd. I can't manage environments or install packages. Using the anaconda prompt also gives me the same error upon launching. It started when I wanted to install django-Oscar , but not having its dependencies I was forced to install the packages manually which in turn needed cytoolz that needs Microsoft Visual C++ build

anaconda navigator will no longer start even through cmd, won't install or update or manage environments

偶尔善良 提交于 2020-05-14 03:52:08
问题 I'm new to django and using the anaconda cloud environment . Its been working well for 3 months plus but as of 7-24-2018 it is just stop to launch the navigator or open through cmd. I can't manage environments or install packages. Using the anaconda prompt also gives me the same error upon launching. It started when I wanted to install django-Oscar , but not having its dependencies I was forced to install the packages manually which in turn needed cytoolz that needs Microsoft Visual C++ build

How to read multiple images from multiple folders in python

為{幸葍}努か 提交于 2020-05-14 01:26:48
问题 I am writing an image recognition program in python 3.6 for which I am using anaconda.I have my image data set stored in the location E:\food-101\images in which the 'images' folder contains multiple sub folders which contain the photographs. I want to use these images for training my machine learning model.I am able to load(read) a single image stored in E:\ I want to load multiple images from the above path how do I proceed ?I am using opencv. my code is as follows any help is appreciated

Desktop VSCode vs Anaconda VSCode?

孤人 提交于 2020-05-13 13:57:38
问题 I have vscode installed on my computer already. I noticed a while back that it is now included with the anaconda distribution. Is there any benefit to using the vscode included with anaconda vs the vscode i already have installed? FYI im a python developer if that makes a difference. 回答1: As far as I know, VS Code is an independent (in terms of your question!) software which is just shipped with Anaconda. It does not matter if you install them separately or first install Anaconda and install

Error installing geopandas:“ A GDAL API version must be specified ” in Anaconda

不羁的心 提交于 2020-05-12 11:32:45
问题 This error raised while installing geopandas. I've looking for its solution on the web, but none of them really explain what happened and how to solve it.. This is the full error: Collecting geopandas Using cached https://files.pythonhosted.org/packages/24/11/d77c157c16909bd77557d00798b05a5b6615ed60acb5900fbe6a65d35e93/geopandas-0.4.0-py2.py3-none-any.whl Requirement already satisfied: shapely in c:\users\alvaro\anaconda3\envs\tfdeeplearning\lib\site-packages (from geopandas) (1.6.4.post2)

How can I debug a python code in a virtual environment using VSCode?

断了今生、忘了曾经 提交于 2020-05-12 04:48:46
问题 EDIT Using VSCode, I had an issue while debugging in a virtual environment that have different packages which are not installed in the base environment. After activating the environment with the command activate my_env , I can use the packages in the environment with usual python command as python main.py . But while debugging, I can't use the packages which are only installed in my_env . How can I debug a python code in a virtual environment using VSCode? This is this the summary of the

HDF5 library version error - HDF5 ver 1.10.4

折月煮酒 提交于 2020-05-11 11:52:00
问题 I'm trying to import some packages with spyder (OS x64), Anaconda and pyton 3.x The error is pretty famous in the internet. The solution proposed is to match the version of the library 1.10.5 with the HDF5 (mine is 1.10.4) The question is that I can't find HDF5 version 1.10.5 and, the other hand, cannot understand what I could downgrade. At this link: https://anaconda.org/conda-forge/hdf5 seems exist version 1.10.5 but when I type in the prompt of anaconda conda install -c conda-forge hdf5

HDF5 library version error - HDF5 ver 1.10.4

前提是你 提交于 2020-05-11 11:51:57
问题 I'm trying to import some packages with spyder (OS x64), Anaconda and pyton 3.x The error is pretty famous in the internet. The solution proposed is to match the version of the library 1.10.5 with the HDF5 (mine is 1.10.4) The question is that I can't find HDF5 version 1.10.5 and, the other hand, cannot understand what I could downgrade. At this link: https://anaconda.org/conda-forge/hdf5 seems exist version 1.10.5 but when I type in the prompt of anaconda conda install -c conda-forge hdf5