=================
Scipion installer
=================
**Scipion installer** is a python module to install scipion 3 (already in **alfa**)
and not ready for production.
This installer is python2-python3 compatible and is a very lightweight package.
It will create a **python3** virtual environment (conda or virtualenv) with scipion in it.
The entire collection is licensed under the terms of the GNU Public License,
version 3 (GPLv3).
============
Installation
============
It is a 2 lines' installation: First to install the installer, second to use the installer (to install scipion).
*** Python 3 ***
.. code-block::
python3 -m pip install scipion-installer
python3 -m scipioninstaller where-to-install-scipion
*** Python2 *** (You are going to need python3 anyway)
.. code-block::
python2 -m pip install scipion-installer
python2 -m scipioninstaller where-to-install-scipion
================
Advanced options
================
.. code-block::
usage: scipioninstaller [-h] [-conda] [-venv] [-dev] [-noXmipp] [-j J] [-dry]
[-httpsClone] [-noAsk] [-n N]
path
positional arguments:
path Location where you want scipion to be installed.
optional arguments:
-h, --help show this help message and exit
-conda Force conda as environment manager, otherwise will use conda
anyway if found in the path, else: virtualenv.
-venv Force virtualenv as environment manager, otherwise will use
conda if found in the path, otherwise: virtualenv.
-dev installs components in devel mode
-noXmipp Xmipp is installed in devel mode under xmipp-bundle dir by
default. This flag skips the Xmipp installation.
-j J Number of processors, Xmipp may take a while...
-dry Just shows the commands without running them.
-httpsClone Only when -dev is active, makes git clones using https instead
of ssh
-noAsk try to install scipion ignoring some control questions in that
process. You must make sure to write the correct path where
Scipion will be installed
-n N Name of the virtual environment. By default, if this parameter
is not passed, the name will be .scipion3env
-sciBranch SCIBRANCH Name of the branch of scipion repos to clone when -dev
is passed.
-xmippBranch XMIPPBRANCH
Name of the branch of xmipp repos to clone when -dev
is passed.
===================
Bundle installation
===================
Checkout Jesper L. Karlsen's script to make a full installation --> https://github.com/jelka71/scipion_auto_install.git
===============
Troubleshooting
===============
**Problem**
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
**Solution**
Add :code:`-httpsClone`
----
**Problem**
pip/pip3 is needed to get the installer.
**Solution**
For ubuntu/debian you might need root access to run
sudo apt-get install python-pip
No root access?: You can try `pip install --user scipion-installer` to install it locally
----
**Problem**
Missing dependencies: scipion needs python3-tkinter to work and an existing python3 installation.
**Solution**
For ubuntu/debian you might need root access to run
sudo apt-get install python3-tk
If *Error: “pkg_resources.DistributionNotFound: The 'zipp>=0.5'* is raised when launching installscipion, try to install zipp by
pip install zipp
Raw data
{
"_id": null,
"home_page": "https://github.com/scipion-em/scipion-installer",
"name": "scipion-installer",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "scipion cryoem imageprocessing scipion-3.0",
"author": "I2PC, Pablo Conesa, Yunior Fonseca",
"author_email": "pconesa@cnb.csic.es,",
"download_url": "https://files.pythonhosted.org/packages/e9/e4/704286c2eaa0cd8ff3fc86a516904591de52002a4ce68286f99631d50079/scipion-installer-1.0.16.tar.gz",
"platform": null,
"description": "=================\nScipion installer\n=================\n\n**Scipion installer** is a python module to install scipion 3 (already in **alfa**)\nand not ready for production.\n\nThis installer is python2-python3 compatible and is a very lightweight package.\nIt will create a **python3** virtual environment (conda or virtualenv) with scipion in it.\n\nThe entire collection is licensed under the terms of the GNU Public License,\nversion 3 (GPLv3).\n\n============\nInstallation\n============\n\nIt is a 2 lines' installation: First to install the installer, second to use the installer (to install scipion).\n\n*** Python 3 ***\n\n.. code-block::\n\n python3 -m pip install scipion-installer\n python3 -m scipioninstaller where-to-install-scipion\n\n\n*** Python2 *** (You are going to need python3 anyway)\n\n.. code-block::\n\n python2 -m pip install scipion-installer\n python2 -m scipioninstaller where-to-install-scipion\n\n================\nAdvanced options\n================\n\n.. code-block::\n\n usage: scipioninstaller [-h] [-conda] [-venv] [-dev] [-noXmipp] [-j J] [-dry]\n [-httpsClone] [-noAsk] [-n N]\n path\n\n positional arguments:\n path Location where you want scipion to be installed.\n\n optional arguments:\n -h, --help show this help message and exit\n -conda Force conda as environment manager, otherwise will use conda\n anyway if found in the path, else: virtualenv.\n -venv Force virtualenv as environment manager, otherwise will use\n conda if found in the path, otherwise: virtualenv.\n -dev installs components in devel mode\n -noXmipp Xmipp is installed in devel mode under xmipp-bundle dir by\n default. This flag skips the Xmipp installation.\n -j J Number of processors, Xmipp may take a while...\n -dry Just shows the commands without running them.\n -httpsClone Only when -dev is active, makes git clones using https instead\n of ssh\n -noAsk try to install scipion ignoring some control questions in that\n process. You must make sure to write the correct path where\n Scipion will be installed\n -n N Name of the virtual environment. By default, if this parameter\n is not passed, the name will be .scipion3env\n -sciBranch SCIBRANCH Name of the branch of scipion repos to clone when -dev\n is passed.\n -xmippBranch XMIPPBRANCH\n Name of the branch of xmipp repos to clone when -dev\n is passed.\n\n\n\n===================\nBundle installation\n===================\nCheckout Jesper L. Karlsen's script to make a full installation --> https://github.com/jelka71/scipion_auto_install.git\n\n===============\nTroubleshooting\n===============\n**Problem**\n\n git@github.com: Permission denied (publickey).\n fatal: Could not read from remote repository.\n\n**Solution**\nAdd :code:`-httpsClone`\n\n----\n\n**Problem**\n\npip/pip3 is needed to get the installer. \n\n**Solution**\n\nFor ubuntu/debian you might need root access to run\n\n sudo apt-get install python-pip\n\nNo root access?: You can try `pip install --user scipion-installer` to install it locally\n\n----\n\n**Problem**\n\nMissing dependencies: scipion needs python3-tkinter to work and an existing python3 installation.\n\n**Solution**\n\nFor ubuntu/debian you might need root access to run \n\n sudo apt-get install python3-tk\n \nIf *Error: \u201cpkg_resources.DistributionNotFound: The 'zipp>=0.5'* is raised when launching installscipion, try to install zipp by\n\n pip install zipp\n",
"bugtrack_url": null,
"license": "",
"summary": "Installs scipion 3 creating a virtual environment for it, for now only for developers.",
"version": "1.0.16",
"split_keywords": [
"scipion",
"cryoem",
"imageprocessing",
"scipion-3.0"
],
"urls": [
{
"comment_text": "scipion-3.0",
"digests": {
"blake2b_256": "e9e4704286c2eaa0cd8ff3fc86a516904591de52002a4ce68286f99631d50079",
"md5": "9a12364324d8c269dfc926472afb6870",
"sha256": "a5765f0a7ec6ecbc6fcf8496f50a2f9febb9fd5c345dcb8b4c7ce7f280875847"
},
"downloads": -1,
"filename": "scipion-installer-1.0.16.tar.gz",
"has_sig": false,
"md5_digest": "9a12364324d8c269dfc926472afb6870",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21173,
"upload_time": "2023-04-11T08:42:30",
"upload_time_iso_8601": "2023-04-11T08:42:30.233039Z",
"url": "https://files.pythonhosted.org/packages/e9/e4/704286c2eaa0cd8ff3fc86a516904591de52002a4ce68286f99631d50079/scipion-installer-1.0.16.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-11 08:42:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "scipion-em",
"github_project": "scipion-installer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "scipion-installer"
}