Category : conda

I like to create a virtual environment for my python project. For that, I like to activate my created environment. For that I am doing this command- conda create -n <env_name> python=3.6.* -y #Create environment conda activate <env_name> After that, I am getting this error- PS C:Usersabrar> conda activate CommandNotFoundError: Your shell has not been ..

Read more

I need to install python3.7-dev and libspatialindex-dev before setting up another private package in my Windows computer. I have the instructions how to install in Linux (for example, see below): sudo apt-get install -y libspatialindex-dev There are alternative methods that I have found with conda in Windows (see below): conda install -c conda-forge libspatialindex=1.9.3 I ..

Read more

I’m trying to compile a c++ code in a Conda environment, but I get the following error: > x86_64-apple-darwin13.4.0-clang++ -I"${CONDA_PREFIX}"/include parallel_MCMC_newMHratio.cpp Undefined symbols for architecture x86_64: "_gsl_interp_accel_alloc", referenced from: _main in parallel_MCMC_newMHratio-5a5120.o "_gsl_interp_accel_free", referenced from: _main in parallel_MCMC_newMHratio-5a5120.o "_gsl_interp_alloc", referenced from: _main in parallel_MCMC_newMHratio-5a5120.o "_gsl_interp_eval", referenced from: _main in parallel_MCMC_newMHratio-5a5120.o "_gsl_interp_free", referenced from: _main in ..

Read more

I’m trying to write my first conda package consisting simply of python files. I’m following documentation from a few sources, including here and here. My problem When I run conda-build against my package directory, I get this error triggered from my bld.bat: (base) C:Windowssystem32>conda-build ./package-name –no-anaconda-upload … (%PREFIX%) %SRC_DIR%>xcopy ".lib" "%PREFIX%Libsite-packagespackage-name" /e Invalid path 0 ..

Read more

I have create this simple env with conda : conda create -n test python=3.8.5 pandas scipy numpy matplotlib seaborn jupyterlab The following code in jupyter lab crashes the kernel : import matplotlib.pyplot as plt plt.subplot() I don’t face the problem on linux. The problem is when I try on windows 10. There are no error ..

Read more

I installed the following library: Faiss via conda using conda install -c pytorch faiss-gpu cudatoolkit=10.0, now its my first time using conda with cpp. How can I include that installed package into my cpp file? I thought conda would install it system wide so I could just include it in my code like any other ..

Read more