<p>Did you try:</p>
<pre><code>pip install scvi-tools
</code></pre>
<p>?</p>

CC BY-SA 4.0
2022-11-30T22:33:39.417Z
Would need venv (virtual env) with pip, but I agree I think this is the best approach in this particular scenario
M__
CC BY-SA 4.0
2022-12-01T10:51:21.523Z
https://scvi-tools.org/
envs_h_gang_5
CC BY-SA 4.0
2022-11-30T21:55:59.440Z
2022-11-30T21:55:59.440Z
Soerendip
<p>I was wondering if somebody here has experience with installing scvi-tools on a Mac with M1 chip. I tried the following command:</p>
<pre><code>conda install scvi-tools -c conda-forge
</code></pre>
<p>But got the following error:</p>
<pre><code>Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/osx-64/current_repodata.json (Caused by SSLError(&quot;Can't connect to HTTPS URL because the SSL module is not available.&quot;))
</code></pre>
<p>Then I tried to install OpenSSL with following command:</p>
<pre><code>conda install -c anaconda openssl 
</code></pre>
<p>and I got the exact same error as the conda install scvi-tools -c conda-forge command.</p>
<p>I do not understand why collection of metadata is failing for openssl. Any inputs would be highly helpful.
Thanks!</p>

CC BY-SA 4.0
2022-11-30T22:10:08.897Z
There might be system incompatibilities, thats what my error log suggests. Thus I was unable to easily install as well. However this might be a Python version  issue (could be Python 3.6, I used 3.11 [not the best idea]). However the error log should have flagged that. `scvi-tools` is a bioinformatics tool, but please try and edit the question with the biological problem. I'd guess this is RNA-seq PCA type analysis
M__
CC BY-SA 4.0
2022-12-01T22:44:18.950Z
Wait, how did you end up with a non-working conda install on that M1 mac in the first place?  Looks like it's not complaining about a missing package dependency; it's complaining about not having openssl to do HTTPS downloads within conda.
Jesse
<software-installation>
Struggling to install scvi-tools on Mac M1
# Struggling to install scvi-tools on Mac M1

(Asked by: username_0 on 2022-11-30)

I was wondering if somebody here has experience with installing scvi-tools on a Mac with M1 chip. I tried the following command:
conda install scvi-tools -c conda-forge

But got the following error:
Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/osx-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

Then I tried to install OpenSSL with following command:
conda install -c anaconda openssl 

and I got the exact same error as the conda install scvi-tools -c conda-forge command.
I do not understand why collection of metadata is failing for openssl. Any inputs would be highly helpful.
Thanks!

**Tags:** software-installation
> **Comments:**
> **username_1**: There might be system incompatibilities, thats what my error log suggests. Thus I was unable to easily install as well. However this might be a Python version  issue (could be Python 3.6, I used 3.11 [not the best idea]). However the error log should have flagged that. `scvi-tools` is a bioinformatics tool, but please try and edit the question with the biological problem. I'd guess this is RNA-seq PCA type analysis  
> **username_2**: Wait, how did you end up with a non-working conda install on that M1 mac in the first place?  Looks like it's not complaining about a missing package dependency; it's complaining about not having openssl to do HTTPS downloads within conda.  

---

## 1 answers

### Answer by username_3 on 2022-11-30. Score: 2

Did you try:
pip install scvi-tools

?

> **Comments:**
> **username_1**: Would need venv (virtual env) with pip, but I agree I think this is the best approach in this particular scenario  
> **username_4**: https://scvi-tools.org/  

---

