fundingrest.blogg.se

Psychopy anaconda
Psychopy anaconda











  1. Psychopy anaconda how to#
  2. Psychopy anaconda install#

Nix has a concept called setup hooks, which are executed for each package in the dependency tree. All Nix packages are build in isolated chroots. If you want to avoid that, you'll need to write a wrapper that will do something similar to nix-shell.

Psychopy anaconda install#

Note that your users will need to install Nix. The idea behind Nix is not to have any global sets of packages, but rather environments for each need.īy just declaring AVBin as build dependency it should be enough. It's recommended to create environments with nix-shell, you should be able to run it inside ~/pkg/psychopy/ and get $PYTHONPATH populated. MyEnvFun is deprecated, where did you read about it?

psychopy anaconda

  • Can some discussion of handling paths in Python with the context of Nixos be shared?.
  • in this case AVbin (which actually has installation instructions that refers to paths that are not standard in Nixos to my understanding, i.e.

    psychopy anaconda

    psychopy and pyo and pyparallel) what is the recommended procedure? And how does this change if some non-python software is required, e.g. If one wishes to bundle together a python collection with more than one library outside the nixos expression channel (e.g.numpy and scipy) once as system or user wide packages or with each particular experimental library? Is the recommend practice to install python packages that exist in the nixos expression collections (e.g.This leads to the following questions that though they are specifically about psychopy would apply more generally to python and Nixos. One can run nix-env -f ~/pkg/ -iA psychopy and Psychopy will be installed, but it will not be easily useable because the path to the psychopy library is not seen by any system wide python2 installation, or even the python version that is installed as part of the build inputs.

    Psychopy anaconda how to#

    I have figured out how to get psychopy installed, but the path's don't play nicely.įor example if the following is saved as ~/pkg/psychopy/default.nix let My goal would be to be able to get all the needed pieces together and have a functioning psychopy environment with a single installation request. AVbin) and most of which are in the nixos package collection, but not all ( pyo and py-parallel).

    psychopy anaconda

    It has several dependencies, most of which are python packages, but not all (e.g. Psychopy is a python package used for psychology experiments. As well it would be good to have some general recommendations on the recommended way to do this since googling Nixos and Python yields a number of approaches, some of which use poorly documented function e.g. I am interested in a reliable and robust procedure for collecting python package and dependencies for the Psychopy library into a single collection or environment to make a self-contained and maintainable installation.













    Psychopy anaconda