Closed bdy2530 closed 1 year ago
Hello @bdy2530 ! Sorry for delay, I missed this one.
It seems something may have gone astray when the conda environment was created: pip and python should come with it.
Try:
(i) conda create -n simba_env python=3.6
(ii) conda activate simba_env
(iii) pip install simba-uw-tf-dev
(iv) On my mac, I sometimes have to reinstall matplotlib through conda: pip uninstall matplotlib
followed by conda install matplotlib
(iv) and to launch, type simba
Let me know how it goes!
Another way would be to try the docker image, but the drawback there is that I have not setup any ci cd to auto update to the docker image with each pip/github update, so docker updates drags behind for now.
Hi! Sorry to reopen this issue but I am dealing with the same situation: This is my error message after I tried "conda create -n simba_env python=3.6"
<Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.>
Hi @Siriz23 no problem - how does it go when you try in a python3.9 environment?
Unfortunately it is worse because I had so many issues with different dependencies such as numpy, cython, matplotlib. All of them with different timing. I am going to try again, starting from the scratch: Error1 -->
I've uninstalled and installed Shapely.
Error2-->
And here I am completely stuck
Got it someone yesterday-ish raised this on their M1 on Gitter, never really was solved: https://matrix.to/#/!afKEsAvrtNfxHHEeIJ:gitter.im/$77Tddm33m4MkWcWHGa4zoU2LIQFC0_RO603oivCjMj4?via=gitter.im&via=matrix.org&via=matrix.freyachat.eu
It seems to be using a cache, if you install simba with the --no-cache-dir
flag how does it look? Sorry I can't troubleshoot this as I don't have access to the M1..
Thank you for your feedback! I'll give it another shot tomorrow. By the way, I'm curious if it's possible to install it on a MacBook with an M1 chip🥲
Thank you for your feedback! I'll give it another shot tomorrow. By the way, I'm curious if it's possible to install it on a MacBook with an M1 chip🥲
Were you able to figure this problem out?
Hi @ligeralde! What error are you seeing, is it the python 3.6 error?
Hi @ligeralde! What error are you seeing, is it the python 3.6 error?
When i run simba, i get AttributeError: 'version_info' object has no attribute '__version__'
Hi @ligeralde! What error are you seeing, is it the python 3.6 error?
When i run simba, i get
AttributeError: 'version_info' object has no attribute '__version__'
this may be a problem with my environment
Interesting, do you have a full traceback to see which lines are causing it?
Also which version of Simba do you see with pip show simba-uw-tf-dev
?
Interesting, do you have a full traceback to see which lines are causing it?
Also which version of Simba do you see with
pip show simba-uw-tf-dev
? v1.86.6
There is a suggested fix here: https://stackoverflow.com/a/70061207
Try pip install pyparsing==2.4.7
and then try to launch Simba, how does it look?
There is a suggested fix here: https://stackoverflow.com/a/70061207
Try
pip install pyparsing==2.4.7
and then try to launch Simba, how does it look?
Thanks, this is a step in the right direction! I still get this warning, not sure if it's a big deal
I'm not sure, have not seen it before? If it's just a warning I wouldn't worry for now. If you get any errors related to plotting and matplotlib let me know here and we can dig into it as we'd hopefully receive a more informative error msg
Describe the bug Can't install python 3.6.0 or simba into anaconda environment
To Reproduce Steps to reproduce the behavior:
Expected behavior Python should install to allow me to install simba.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Error log `(base) baran@dhcp-10-102-45-150 ~ % conda activate simba (simba) baran@dhcp-10-102-45-150 ~ % pip install simba-uw-tf-dev zsh: command not found: pip (simba) baran@dhcp-10-102-45-150 ~ % conda install python=3.6.0 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
and use the search bar at the top of the page.`
Solutions I have tried (with errors nested)
conda install python=3.6 –––– while this allowed me to install python 3.6.13, this gave another error
(WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/simba-uw-tf-dev/ Could not fetch URL https://pypi.org/simple/simba-uw-tf-dev/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/simba-uw-tf-dev/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping ERROR: Could not find a version that satisfies the requirement simba-uw-tf-dev (from versions: none) ERROR: No matching distribution found for simba-uw-tf-dev)conda install python=3.6.2 –––– I found this can bypass the SSL error from above and allow me to run pip install simba-uw-tf-dev along with the rest of the MacOS installation tutorial. But, attempting to run simba gives a massive error code
Traceback (most recent call last): File "/Users/baran/anaconda3/envs/simba/bin/simba", line 5, inWill add as I attempt more fixes