I have created a conda virtual environment on a Windows 10 PC to work on a project. To install the required packages and dependencies, I am using conda install <package> instead of pip install <package> as per the best practices mentioned in https://docs.conda.io/projects/conda/en/latest/user-guid…
Tag: conda
Labelimg crashes when attempting to export YOLO training samples
I’m pretty new to Python and labeling data for deep learning. I have installed Labelimg program in order to label a custom dataset, but it keeps crashing when I create YOLO training samples. Each time I open the program and specify the image directory, I can browse through the images, but when I create …
Why package is not updated even the lifecycle script has been executed successfully in SageMaker?
I wanted to update pandas version in ‘conda-python3’ in SageMaker, I’ve followed the steps in this page, and linked the new configuration to my instance, CloudWatch log shows me the script has been executed successfully, but when I restart my instance and print out the panda version, it̵…
Visual Studio Code terminal doesn’t activate Conda environment
I read this Stack Overflow post on a similar issue, but the suggestions there don’t seem to be working. I installed Visual Studio Code on my Windows machine and added the Python extension. Then I changed the Python path for my project to C:Usersusername.condaenvstompython.exe. The .vscode/settings.json …
Multi-user Conda Workflow
Firstly, to mention what my goal is: To have a shared environment structure for 2+ users to access & use. Current setup: I have a Windows Server 2016 with full admin access that’s connected to the companies active directory. I’ve been using Python/Conda for a couple of years now but only for m…
python conda: created a environment, but it is not using conda’s python
I have been using anaconda for a while, and its Python executable is located at /Users/ufo/opt/anaconda3/bin/python. I have tried to create an environment with conda, and the new environment would use copy this Python to environment’s bin. However, with current Anaconda versation, the new environment wi…
R reticulate libstdc++so GLIBCXX_3.4.21 not found issue
I was trying to use pandas from R . I used the reticulate library for the same. The sample code I used is given below library(reticulate) use_condaenv(“my_env_37”,required=T) py_discover_config() py_run_string(“import pandas as pd”) Error Output from py_discover_config() Conda version …
No module named “Torch”
I successfully installed pytorch via conda: I also successfully installed pytorch via pip: But, it only works in a jupyter notebook. Whenever I try to execute a script from the console, I get the error message: No module named “torch” Answer Try to install PyTorch using pip: First create a Conda e…
ImportError: DLL load failed, while file is in working directory
I’m trying to import scanpy for use in jupyter notebook with miniconda3. However, when I try to import scanpy, it gives an ImportError about the hdf5extension dll. When I look in the directory of the package tables though, I can see two files named hdf5.dll and hdf5extension.cp37-win_amd64.pyd (https://…
‘Unable to import’ errors for anaconda environment in VS Code
I am trying to solve partial differential equations with Python using FEniCS. I installed it with anaconda and conda-forge and to use it, I activate the fenicsproject environment I run my scripts in jupyter (that works), but often it is more convenient to use VS Code for more elaborate code. When I run the sc…