Comments (9)
Hi there!
Before running ivis
, if you're installing it for the first time you need to call install_ivis()
in R:
devtools::install_github("beringresearch/ivis/R-package")
library(ivis)
install_ivis()
That will install all the python requirements - let us know if that helps
from ivis.
Thanks for your answer!
I have called install _ivis() in R in the first time, but there was an error --Error: one or more Python packages failed to install [error code 1]
And I tried to run "pip install ivis ”, but not succeed.
I don't know where is wrong, So how do I solve it?
from ivis.
Hi - Could you provide more details on that error pls - i.e. which python package is failing to install?
Probably has something to do with dependencies - are you installing under WSL?
from ivis.
Hi! This is the detail on that error, I never tried to install under WSL, and I don't how to run in WSL. Could you give me some suggestions?
install_ivis()
Creating a virtual environment (ivis)
- "C:/Users/Admin/AppData/Local/r-miniconda/condabin/conda.bat" "create" "--yes" "--name" "ivis" "python=3.8" "--quiet" "-c" "conda-forge"
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
Package Plan
environment location: C:\Users\Admin\AppData\Local\R-MINI~1\envs\ivis
added / updated specs:
- python=3.8
The following NEW packages will be INSTALLED:
bzip2 conda-forge/win-64::bzip2-1.0.8-h8ffe710_4
ca-certificates conda-forge/win-64::ca-certificates-2022.6.15-h5b45459_0
libffi conda-forge/win-64::libffi-3.4.2-h8ffe710_5
libzlib conda-forge/win-64::libzlib-1.2.12-h8ffe710_2
openssl conda-forge/win-64::openssl-3.0.5-h8ffe710_0
pip conda-forge/noarch::pip-22.2.1-pyhd8ed1ab_0
python conda-forge/win-64::python-3.8.13-hcf16a7b_0_cpython
python_abi conda-forge/win-64::python_abi-3.8-2_cp38
setuptools conda-forge/win-64::setuptools-63.2.0-py38haa244fe_0
sqlite conda-forge/win-64::sqlite-3.39.2-h8ffe710_0
tk conda-forge/win-64::tk-8.6.12-h8ffe710_0
ucrt conda-forge/win-64::ucrt-10.0.20348.0-h57928b3_0
vc conda-forge/win-64::vc-14.2-hb210afc_6
vs2015_runtime conda-forge/win-64::vs2015_runtime-14.29.30037-h902a5da_6
wheel conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0
xz conda-forge/win-64::xz-5.2.5-h62dcd97_1
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
- "C:/Users/Admin/AppData/Local/r-miniconda/condabin/conda.bat" "install" "--yes" "--name" "ivis" "-c" "conda-forge" "ivis[cpu]"
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- ivis
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
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.
Error: one or more Python packages failed to install [error code 1]
from ivis.
Thanks for bringing this up, the R-package on Windows hasn't been something we use much and developed a few issues. I've pushed a series of commits to the master branch that should hopefully fix the issues you are having if you reinstall ivis.
from ivis.
Hi , thanks for your helping. I tried to reinstall ivis recently, but there was a new error when I run "install _ivis()". I can't understand this error, could you help me to solve this problem?
>install _ivis()
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Error: Error installing package(s): ""ivis[cpu]""
In addition: Warning message:
In shell(fi, intern = intern) :
'C:\Users\Admin\AppData\Local\Temp\RtmpuOdl3b\filed484fb1424b.bat'The run failed with error code 2
from ivis.
This looks to me like an internet connection error. I can’t reproduce it unfortunately.
from ivis.
Thanks for your helping, I don't solve it successfully. I try to use other methods in Rstudio. Thanks for your answer., thank you!
from ivis.
Could you check to see if you can install from command line? I remember seeing that RStudio can have weird proxy settings preventing download from repo with a connection time out error.
from ivis.
Related Issues (20)
- `NotFittedError` after caching and reloading fitted `Ivis` instance HOT 2
- Suggest implementing `predict_proba` and `predict` methods for Ivis object. HOT 1
- How does ivis compare to UMAP? HOT 2
- Add conda-forge package
- About scaling HOT 2
- `KeyError` followed by `joblib.externals.loky.process_executor.BrokenProcessPool` when using `sklearn.model_selection.GridSearchCV` with `n_jobs != 1` HOT 3
- One of the unit tests (knn_retrieval) can fail (machine dependent?) HOT 1
- OSError HOT 1
- Extremely slow extraction of KNN neighbours on 100k samples HOT 4
- InternalError: Graph execution error: HOT 4
- 2D visulization of crowded cluster with ivis HOT 1
- model_save: optimizer is not compatible with pickle HOT 4
- How to get stable results? HOT 4
- Ivis is not able to run inference on a sparse matrix
- Reproducibility HOT 2
- `chunk_size` in knn set to 0 HOT 2
- Ivis seems to provoke errors when composing a sklearn.pipeline.Pipeline passed to sklearn.model_selection.GridSearchCV and executed in parallel HOT 10
- classification_weight Parameter HOT 2
- Meaning of "Observations" on https://bering-ivis.readthedocs.io/en/latest/hyperparameters.html HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivis.