![peakutils python conda windows peakutils python conda windows](https://forum.generic-mapping-tools.org/uploads/default/original/2X/b/bf886d7c5126a670a4e6fe0c042622b973b4477a.png)
Choosing a version of Anaconda or Miniconda Whether you use Anaconda or Miniconda, select the most recent version.
Peakutils python conda windows install#
Install main dependencies: conda install -y "numpy=>1.20" "scipy=>1.5" "matplotlib=>3. Want fast access to Python and the conda commands and you wish to sort out the other programs later. ( optional) create a dedicated environment for Larch and activate it: conda create -y -name xraylarch python=3.8 I ran into the problem where I tried to install the library through the Jupyter terminal, but when I went back to my notebook to try nda installation of peakutils.
![peakutils python conda windows peakutils python conda windows](https://i.stack.imgur.com/EG4mX.png)
Peakutils python conda windows update#
I propose to update the documentation for those users how have already conda installed and do not want to (re)install conda, as is done if they use the installation scripts:Īctivate your conda environment ( base by default) and update it: conda activate This should avoid pip install xraylarch failing, even if some functionalities will not be available. Thus, I suggest moving pymatgen to requirements-extra.txt. I gave few more trials under Windows and Linux/Ubuntu (I do not have access to Mac) with pip and I confirm that wxpython and pymatgen give errors and should be installed via conda. I am not familiar with pyproject.toml but I am afraid it will not solve the problem with dependencies that are not pip installable. OK for not going with a conda package on conda forge. python = 3.8 #easier to stick to a given python version Includes functions to estimate baselines, finding the indexes of peaks in the. Looking at the installation scripts and the github workflows, an environment.yml file could be: name: xraylarch This package provides utilities related to the detection of peaks on 1D data. Since we have to go via conda anyway, what about having xraylarch on conda-forge directly? But when I open python with anaconda, whether inside my anaconda folder or inside the environment folder in i. It seems to me that the installation scripts work nicely under Windows, Linux and Mac, while the binary installer for Linux fails (did not investigate yet). I have installed anaconda and create and activated an environment with anaconda prompt.
![peakutils python conda windows peakutils python conda windows](https://peakutils.readthedocs.io/en/latest/_images/tut_a_1.png)
Ideally, we would like to have pip install xraylarch working, but it is a matter of fact that some required dependencies fails with pip, then conda is required.