Skip to main content

Installs scipion 3 creating a virtual environment for it anc creates a launcher.

Project description

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 *

python3 -m pip install scipion-installer
python3 -m scipioninstaller where-to-install-scipion

* Python2 * (You are going to need python3 anyway)

python2 -m pip install scipion-installer
python2 -m scipioninstaller where-to-install-scipion

Advanced options

usage: installscipion [-h] [-conda] [-venv] [-dry] [-noAsk] [-n N] [-scratchPath SCRATCHPATH] [-python PYTHON] path

     Installs scipion3 in a conda or virtualenv environment. Check all parameters bellow for a custom installation. If there are issues initializing conda you
     can set CONDA_ACTIVATION_CMD variable and it will be used instead of guessing. Typical values are . "/path/to/miniconda3/etc/profile.d/conda.sh" or eval
     "$(/path/to/miniconda3/bin/conda shell.bash hook)"

 positional arguments:
   path                  Location where you want scipion to be installed.

 options:
   -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.
   -dry                  Just shows the commands without running them.
   -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 scipion3
   -scratchPath SCRATCHPATH
                         Path to a folder working at high speed(like SSDs) to be used temporarily during processing.
   -python PYTHON        Python version to use in the environment. For virtualenv, default value will become "python3", otherwise argument will be
                         literally passed to virtualenv.Default value is 3.8 but up to 3.11 may work as well.

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 -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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scipion_installer-2.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

scipion_installer-2.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file scipion_installer-2.1.tar.gz.

File metadata

  • Download URL: scipion_installer-2.1.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for scipion_installer-2.1.tar.gz
Algorithm Hash digest
SHA256 e0c2c39b26980aeb8c8a3d746fd05072fe90008a07aaafc2cb26d4cef7e758d4
MD5 cb1d663dd2f323bab4714979c374ee94
BLAKE2b-256 3e7b76f01f5aec87eaa6eb1ee13ebf8fae04d2a2bb17019472cdaefc96280040

See more details on using hashes here.

File details

Details for the file scipion_installer-2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for scipion_installer-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2796670261e836756830b1305f62a34fa47a91e84ba0f52ef7e06b541501113
MD5 270742f2eac90791242c0193cc68508f
BLAKE2b-256 92b6947304eecc35c25b03e319673b6bf18c83e10baa33c44e33386b06e9c679

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page