Why is Tensorflow not recognizing my GPU after conda install?

August 2021 Conda install may be working now, as according to @ComputerScientist in the comments below, conda install tensorflow-gpu==2.4.1 will give cudatoolkit-10.1.243 and cudnn-7.6.5 The following was written in Jan 2021 and is out of date Currently conda install tensorflow-gpu installs tensorflow v2.3.0 and does NOT install the conda cudnn or cudatoolkit packages. Installing them … Read more

Ways to invoke python and Spyder on OSX

To make spyder callable from Spotlight or Finder: Locate where your spyder executable is by running in Terminal: which spyder This should yield ~/anaconda/bin/spyder if you installed spyder via Anaconda, /opt/local/bin/spyder if you used MacPorts or something similar. Create a file called spyder in your Applications directory and make it executable. Then, fill it with … Read more

Schedule a Python script via batch on windows (using Anaconda)

I would be a bit careful in calling python directly through environment as one never knows if the internals for activate function has changed. I’m just using basic bat-script to help me out. SET log_file=%cd%\logfile.txt call C:\Anaconda3\Scripts\activate.bat cd \script_directory python script.py arg1 arg2 > %log_file% This script saves the log-file wherever the bat is run … Read more

export conda environment without prefix variable which shows local path to executable

This question was already addressed here, but without a real explanation on the role of prefix. At least there is a solution to exclude the prefix line programmatically. It is not mentioned in the conda doc, except for the fact that conda env export –prefix PATH allows to specify a prefix. But note that –name … Read more

Could not import PILLOW_VERSION from PIL

Pillow 7.0.0 removed PILLOW_VERSION, you should use __version__ in your own code instead. https://pillow.readthedocs.io/en/stable/deprecations.html#pillow-version-constant Edit (2020-01-16): If using torchvision, this has been fixed in v0.5.0. To fix: Require torchvision>=0.5.0 If Pillow was temporarily pinned, remove the pin Old info (2020-01-09): If using torchvision, there is a release planned this week (week 2, 2020) to fix … Read more

How we can resolve “Solving environment: failed with initial frozen solve. Retrying with flexible solve.” issue while installing the new conda package

As stated by a Conda maintainer in https://github.com/conda/conda/issues/8051#issuecomment-1549451621 their official position is that they know the old solver is slow and that is why they put effort in allowing the libmamba solver to be used in Conda. To install: conda install -n base conda-libmamba-solver at which point you are free to use it once, e.g.: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)