Upgrade conda with conda -n base update conda and try installing in your env again.However, I do have a few suggestions to try first, which are pretty common to troubleshooting any Anaconda package install: Since I don’t see the post build scripts in the conda-forge feedstock for Scikit-Learn so it seems like its something specific to the Anaconda official defaults channel, and thus I have no direct insight. Looks like a post-build script failed, without giving any real information on the source of the error. When, in activated enviroment I write: conda install scikit-learn it shows: You can confirm it is installed with conda list scikit-learn, and test it out with python -c "import sklearn" It isn’t made clear, but I assume you mean you tried that in base, in which scikit-learn is already installed by default for full-fat Anaconda installs. I updated anaconda and use python 3.8.5 as conda compiler. Script: G:\programfile\anaconda3\envs\tf\Scripts\.scikit-lear n-post-link.bat LinkError: post-link script failed for packageĭefaults::scikit-learn-1.0.1-p圓8 hf11a4ad_0 location of failed Threadpoolctl pkgs/main/noarch::threadpoolctl-2.2.0-pyh0d69192_0ĮRROR :_execute(699): An error occurred while installing Joblib pkgs/main/noarch::joblib-1.1.0-pyhd3eb1b0_0 The following NEW packages will be INSTALLED: When, in activated enviroment I write: conda install scikit-learn it shows: Collecting package metadata (current_repodata.json): doneĮnvironment location: G:\programfile\anaconda3\envs\tf #All requested packages already installed. When I write: conda install scikit-learn it shows: Collecting package metadata (current_repodata.json): done I installed the scikit-learn package in Windows 7 64-bit. I want to install the scikit-learn package in an environment that previously TensorFlow, NumPy, pandas, scipy, and matplotlib were installed.
0 Comments
Leave a Reply. |