I find that conda can install gcc-6 : https://anaconda.org/salford_systems/gcc-6
But I met a error:
[user#login2 bin]$ conda install -c salford_systems gcc-6=6.2.0
Fetching package metadata ........... Solving package specifications:
PackageNotFoundError: Package not found: Conda could not find '
Also, I tried install gcc5 and get the same error.
I use redhat. Does anyone knows the reason?
You can search anaconda cloud for gcc-6 and install it using e.g.:
conda install -c omgarcia gcc-6
Related
I can install mplsoccer into my command prompt using pip, but I am unable to install it into conda. I get the error message:
Image shows error message inside conda
I have been to anaconda.org, but I am unable to find a solution
I'm the author of mplsoccer. It is now available in conda-forge: conda install -c conda-forge mplsoccer.
I cant seem to install the right version of torch and I cant get fast ai libraries working
I try
Python 3.7
pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1-cp37-cp37m-win_amd64.whl
pip3 install torchvision
Could not find a version that satisfies the requirement torch>=1.1.0 (from torchvision) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch>=1.1.0 (from torchvision)
I feel like I may of downgraded my gpu when I tried conda install fast ai
and then I tried pip and it couldnt find a file C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\caffe2\python\serialized_test\data\operator_test
I finally got to the point where it said successfully installed six, pillow, and torch but torch is at 0.3 which is incompatiable.
pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1-cp37-cp37m-win_amd64.whl
pip3 install torchvision
expected to install pytorch or fastai nothing seems to work
You may try installing the course by creating a conda environment provided anaconda is already installed in your windows machine.
conda update conda
conda create -n fastai_conda python=3.6
conda activate fastai_conda
conda install fastai pytorch=1.0.0 -c fastai -c pytorch -c conda-forge
Or for installing CPU version you can use the below commands after the environment is created
conda install -c pytorch pytorch-cpu torchvision
conda install -c fastai fastai
You can check if installation went right with this command
python -m fastai.utils.show_install
You may further need to install ipykernel to use the conda environment in your jupyter notebook.For that activate environment and run the following commands:
conda install nb_conda_kernels
python -m ipykernel install --user --name fastai_v1 --display-name "fastai v1"
conda install ipywidgets
I want to install face_recognition package on windows using anaconda prompt, however the official documentation says, "Windows not officially supported, but might work".
I'm getting error of OpenCV(dlib) while trying to install face_recognition.
Any help will be appreciated!
I solved my problem by the following commands:
Downgrade python for compatibility.
conda install python=3.6.0
Install dlib from conda-forge
conda install -c conda-forge dlib
Install face_recognition pkg with --no-dependencies flag to avoid installation of dlib as dependency
pip install --no-dependencies face_recognition
I wanted to install MXNET using commands conda install -c anaconda mxnet and conda install mxnet, but I am getting unsatisfiable error as show in images.
'conda install -c anaconda mxnet':
'conda install mxnet':
You can find the install instruction on the website:
Select your preferred configuration, for example on windows, install mxnet using
pip install mxnet
I have installed conda 4.3.22 and want to update conda gcc from 4.8.5 to 6.2.0. By using the following command I am getting an error because of the isl version. However, by trying to install a newer version of isl I am getting an error because of the gcc version. This is a rather dumb problem but I am not sure on how to get around it.
$ conda install -c salford_systems gcc-6=6.2.0
Fetching package metadata ...........
Solving package specifications:
PackageNotFoundError: Dependency missing in current linux-64 channels:
- gcc-6 6.2.0* -> isl >=0.17,<=0.17.1
$ conda install -c conda-forge isl=0.17.1
Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- gcc -> isl >=0.10,<=0.14
- isl 0.17.1*
Use "conda info <package>" to see the dependencies for each package.
Edit 1:
As it was pointed out in the comments by darthbith, a combined command is not working and throws the following error:
$ conda install -c conda-forge -c salford_systems gcc-6=6.2.0 isl=0.17.1
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- gcc -> isl 0.12.*
- gcc-6 6.2.0*
Use "conda info <package>" to see the dependencies for each package.
Do I understand it correct, that gcc and gcc-6 are different packages of which both require a different version of isl and thus leading to my problem? I only would need a newer version of gcc which supports GLIBCXX_3.4.21.
Thanks in advance.
I was able to solve my problem, thank you darthbith for helping me out.
Since gcc and gcc-6 are in fact two different packages, the solution was to delete gcc. After that, I had to update isl before I could install gcc-6. The commands used were:
conda uninstall gcc
conda install -c conda-forge isl=0.17.1
conda install -c salford_systems gcc-6=6.2.0