Open DorianBattivelli opened 1 year ago
Hi @DorianBattivelli! It looks like your running python3.9. how does it look when you run it in 3.6?
PS. Latest SimBA should run in python >3 6, including 3.9, but requires slightly different installation, including downgrade setuptools and pip I think. But I haven't had time to write documentation. But if I really need 3.9 I can write it.
Indeed, I tried to specify the python version, but somehow I cannot do it:
Using "python3.6 pip install simba-uw-tf-dev" command, it looks that it moves forward, but I still face the issue:
I can't see it in the second screengrab, but in the first, you have created a conda environment for simba using python 3.9:
Instead, when creating the conda environment, do e.g.,:
1) conda create -n simba_env python=3.6 anaconda 2) conda activate simba_env 3) pip install simba-uw-tf-dev
Everything run well at first, but an error popped out at the end, and it seems to prevent SimBA to work properly:
Ohh wait maybe I should go through the following commands (matplotlib etc.), I'm giving a go..
maybe use pip install simba-uw-tf-dev --ignore-installed
Still not working :/
I think this is a pandas and numpy version mismatch, which version of numpy and pandas do you have pip show numpy
and pip show pandas
?
Numpy: 1.18.1 Pandas: 1.0.5
If you try: pip install pandas==0.25.3
, how does it look?
Here again I have error:
Tro do do pip uninstall matplotlib
then conda install matplotlib
To resume, I did from scratch:
conda create -n simba_env python=3.6 anaconda
conda activate simba_env
pip install simba-uw-tf-dev --ignore-installed
pip install pandas==0.25.3
pip uninstall matplotlib
conda install matplotlib
And here what I get:
Did conda install matplotlib run properly? This suggests you don't have matplotlib in the environment. Did you type y
after to confirm install?
I just relaunched the command, and here another error:
This is a shapely error again, try:
pip uninstall shapely conda install shapely
Then terminal returns:
:) This is an sklearn error, which version of scikit do you have? pip show scikit-learn
0.23.1
If you do pip uninstall imblearn
then pip install imblearn
?
Damn :)
can you try pip install scikit-learn==0.22.2
?
It's giving the same outcome
Does ant of these potential fixes do it? https://stackoverflow.com/questions/56549270/importerror-cannot-import-name-multioutputmixin-from-sklearn-base
Ok, I managed to install it, what I did:
And then run all these commands from this env:
pip install simba-uw-tf-dev
Then, conda install -c anaconda python.app
Then, conda install matplotlib
Then, conda uninstall shapely
Then, conda install -c conda-forge shapely
Not sure what solved the problem here... :D
Thank you!
Great!
Just to let you know, it's working, but when I'm launching the program I see some errors in the terminal:
Do you think it can be problematic for a stable use of SimBA?
You should be OK, just a warning that it might break if you update matplotlib to a newer version
Hello,
I tried to follow these steps:
But here what I get:
I checked and both Pip and setuptools are up to date. Do you have an idea what is going wrong here?
Thank you, Best,