brian-team / brian2tools

Tools to use with Brian 2, in particular for visualization
https://brian2tools.readthedocs.io
Other
14 stars 12 forks source link

installation problem #36

Open cnjackhu opened 4 years ago

cnjackhu commented 4 years ago

I want to install the brian2tools package in anaconda. But it failed. The Terminal command as follows:

(snn) hu@brouilly:~$ conda install -c brian-team brian2tools Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

Your python: python=3.7

If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

The following specifications were found to be incompatible with your CUDA driver:

Your installed CUDA driver is: 10.2

Is this mean that only python version [version='2.7.|3.5.|3.6.|3.4.'] can use brian2tools ?

cnjackhu commented 4 years ago

I change to python 2.7. It runs without problem

vigneswaran-chandrasekaran commented 4 years ago

Hi, did you try to install using pip from python3.7?

cnjackhu commented 4 years ago

I didn't try yet. I just afraid using pip and conda install together will have errors. @Vigneswaran-Chandrasekaran

arashgmn commented 2 years ago

I know it is late to answer but here it is anyway.

  1. I used (mini)conda and created a new environment from scratch,
  2. installed brian2tools before anything else (unlike what is suggested here),
  3. and next installed brian2 on top of it.

Note: I updated my conda to the latest version first (4.12.0)