<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">Hi all,<div>The PyQt5 list helped me track down that error a bit more.  The wheel build for PyQt5 depends on something called manylinux2014, which depends on CentOS7.  The server I&#39;m trying to use is CentOS 6.7.</div><div><br></div><div>It sounds like my environment/pip dipy issue is related to the anaconda version I have (may also be why mne was broken when I tried to create the environment).</div><div>There are issues with the environment file using pip <a href="https://github.com/conda/conda/issues/8404">in older anaconda versions</a>.</div><div>However, this is after I do &quot;conda update --all&quot; in my mne environment.  I&#39;m having trouble figuring out how to get a newer anaconda package.  The mne install page suggests conda version 4.6.2.  It looks like I have 4.3.30.  The github issue page says the pip options issue is fixed with 4.6.9</div><div>Sorry to ask a conda question here, but when I try &quot;conda update anaconda&quot; I get an error saying &quot;PackageNotInstalledError: Package is not installed in prefix.&quot;  From searching, it sounds like I need to update my base/root anaconda environment, but I&#39;m not sure I want to do that?</div><div><br></div><div>Also, FWIW I was able to get dipy to install using &quot;pip install dipy --only-binary dipy&quot;, which sort of led me down the rabbit hole of why my environment didn&#39;t seem to be working with the pip options... I was also able to install mne using pip.</div><div><br></div><div>Just thought I&#39;d update.  It seems it is an issue with my system, not with your environment file.</div><div>Thanks,</div><div>Megan</div><div><br></div><div><font face="monospace">conda info<br>Current conda install:<br><br>               platform : linux-64<br>          conda version : 4.3.30<br>       conda is private : False<br>      conda-env version : 4.3.30<br>    conda-build version : 1.19.0<br>         python version : 3.5.4.final.0<br>       requests version : 2.12.4<br>       root environment : /export/research/analysis/human/jstephen/shared/programs/python/anaconda3  (writable)<br>    default environment : /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne<br>       envs directories : /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs<br>                          /na/homes/mschendel/.conda/envs<br>          package cache : /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/pkgs<br>                          /na/homes/mschendel/.conda/pkgs<br>           channel URLs : <a href="https://repo.continuum.io/pkgs/main/linux-64">https://repo.continuum.io/pkgs/main/linux-64</a><br>                          <a href="https://repo.continuum.io/pkgs/main/noarch">https://repo.continuum.io/pkgs/main/noarch</a><br>                          <a href="https://repo.continuum.io/pkgs/free/linux-64">https://repo.continuum.io/pkgs/free/linux-64</a><br>                          <a href="https://repo.continuum.io/pkgs/free/noarch">https://repo.continuum.io/pkgs/free/noarch</a><br>                          <a href="https://repo.continuum.io/pkgs/r/linux-64">https://repo.continuum.io/pkgs/r/linux-64</a><br>                          <a href="https://repo.continuum.io/pkgs/r/noarch">https://repo.continuum.io/pkgs/r/noarch</a><br>                          <a href="https://repo.continuum.io/pkgs/pro/linux-64">https://repo.continuum.io/pkgs/pro/linux-64</a><br>                          <a href="https://repo.continuum.io/pkgs/pro/noarch">https://repo.continuum.io/pkgs/pro/noarch</a><br>            config file : None<br>             netrc file : None<br>           offline mode : False<br>             user-agent : conda/4.3.30 requests/2.12.4 CPython/3.5.4 Linux/2.6.32-573.7.1.el6.x86_64 CentOS/6.7 glibc/2.12    <br>                UID:GID : 10263:8000</font><br></div><div><br></div><div><br></div><div>I was able to get dipy to install...<br><font face="monospace"><br></font></div><div><font face="monospace">(mne) [mschendel@earth python]$ pip --version<br>pip 20.2.2 from /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip (python 3.8)<br><br></font></div><div><font face="monospace">(mne) [mschendel@earth envs]$ pip install dipy --only-binary dipy<br>Collecting dipy<br>  Using cached dipy-1.1.1-cp38-cp38-manylinux1_x86_64.whl (8.0 MB)<br>Collecting nibabel&gt;=3.0.0<br>  Using cached nibabel-3.1.1-py3-none-any.whl (3.3 MB)<br>Requirement already satisfied: scipy&gt;=1.0 in ./mne/lib/python3.8/site-packages (from dipy) (1.5.2)<br>Requirement already satisfied: h5py&gt;=2.4.0 in ./mne/lib/python3.8/site-packages (from dipy) (2.10.0)<br>Requirement already satisfied: numpy&gt;=1.13 in ./mne/lib/python3.8/site-packages (from nibabel&gt;=3.0.0-&gt;dipy) (1.19.1)<br>Requirement already satisfied: packaging&gt;=14.3 in ./mne/lib/python3.8/site-packages (from nibabel&gt;=3.0.0-&gt;dipy) (20.4)<br>Requirement already satisfied: six in ./mne/lib/python3.8/site-packages (from h5py&gt;=2.4.0-&gt;dipy) (1.15.0)<br>Requirement already satisfied: pyparsing&gt;=2.0.2 in ./mne/lib/python3.8/site-packages (from packaging&gt;=14.3-&gt;nibabel&gt;=3.0.0-&gt;dipy) (2.4.7)<br>Installing collected packages: nibabel, dipy<br>Successfully installed dipy-1.1.1 nibabel-3.1.1<br></font></div><div><br></div><div>Here&#39;s where I am now:</div><div><font face="monospace">mne.sys_info()<br>Platform:      Linux-2.6.32-573.7.1.el6.x86_64-x86_64-with-glibc2.10<br>Python:        3.8.5 (default, Sep  4 2020, 07:30:14)  [GCC 7.3.0]<br>Executable:    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/python3<br>CPU:           x86_64: 24 cores<br>Memory:        126.0 GB<br><br>mne:           0.20.8<br>numpy:         1.19.1 {blas=mkl_rt, lapack=mkl_rt}<br>scipy:         1.5.2<br>matplotlib:    3.3.1 {backend=agg}<br><br>sklearn:       0.23.2<br>numba:         0.50.1<br>nibabel:       3.1.1<br>cupy:          Not found<br>pandas:        1.1.1<br>dipy:          1.1.1<br>mayavi:        Not found<br>pyvista:       Not found<br>vtk:           Not found</font><br></div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 2:36 PM Megan Schendel &lt;<a href="mailto:mschendel@mrn.org">mschendel@mrn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br>I am getting the same PyQt5 error when I try the install via create environment. <div>So attempting to creating a new environment did nothing to solve either of the errors I was getting trying to update the environment.</div><div>In the new environment, I can import the mne module, but it doesn&#39;t have a .__version__ attribute or a .sysinfo() attribute, so it&#39;s still broken.</div><div><br><div>I also heard back from the dipy devs that the environment line for dipy is wrong.  They suggest either drop either the first or second &#39;dipy&#39;, see their response below...  Has anyone had success using the environment.yml file on the mne install page with the dipy dependency as written?  I guess I&#39;ll also try to check with the PyQt5 devs to see about the error I&#39;m getting on that.</div><div><br></div><div>Thanks for any help,<br>Megan</div><div><br></div><div>PyQt5 error...</div><div><div><font face="monospace">Collecting PyQt5&gt;=5.10<br>  Using cached PyQt5-5.15.0.tar.gz (3.3 MB)<br>  Installing build dependencies: started<br>  Installing build dependencies: finished with status &#39;done&#39;<br>  Getting requirements to build wheel: started<br>  Getting requirements to build wheel: finished with status &#39;done&#39;<br>    Preparing wheel metadata: started<br>    Preparing wheel metadata: finished with status &#39;error&#39;<br>    ERROR: Command errored out with exit status 1:<br>     command: /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/python /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpdqxe1zsu<br>         cwd: /tmp/pip-install-02yoibkc/pyqt5<br>    Complete output (35 lines):<br>    Querying qmake about your Qt installation...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/bin/qmake -query<br>    Traceback (most recent call last):<br>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 126, in prepare_metadata_for_build_wheel<br>        hook = backend.prepare_metadata_for_build_wheel<br><span style="background-color:rgb(255,255,0)">    AttributeError: module &#39;sipbuild.api&#39; has no attribute &#39;prepare_metadata_for_build_wheel&#39;<br></span></font><div><div dir="ltr"><div dir="ltr"><div><font face="monospace"><br></font></div><div><font face="monospace">    During handling of the above exception, another exception occurred:<br><br>    Traceback (most recent call last):<br>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 280, in &lt;module&gt;<br>        main()<br>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 263, in main<br>        json_out[&#39;return_val&#39;] = hook(**hook_input[&#39;kwargs&#39;])<br>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 130, in prepare_metadata_for_build_wheel<br>        return _get_wheel_metadata_from_wheel(backend, metadata_directory,<br>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 159, in _get_wheel_metadata_from_wheel<br>        whl_basename = backend.build_wheel(metadata_directory, config_settings)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/api.py&quot;, line 51, in build_wheel<br>        project = AbstractProject.bootstrap(&#39;pep517&#39;)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py&quot;, line 82, in bootstrap<br>        project.setup(pyproject, tool, tool_description)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/project.py&quot;, line 479, in setup<br>        self.apply_user_defaults(tool)<br>      File &quot;project.py&quot;, line 62, in apply_user_defaults<br>        super().apply_user_defaults(tool)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/project.py&quot;, line 89, in apply_user_defaults<br>        super().apply_user_defaults(tool)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/project.py&quot;, line 225, in apply_user_defaults<br>        self.builder.apply_user_defaults(tool)<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py&quot;, line 77, in apply_user_defaults<br>        self._get_qt_configuration()<br>      File &quot;/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py&quot;, line 450, in _get_qt_configuration<br>        raise UserException(<br>    sipbuild.exceptions.UserException<br>    ----------------------------------------<br>ERROR: Command errored out with exit status 1: /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/python /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpdqxe1zsu Check the logs for full command output.<br>Using Anaconda Cloud api site <a href="https://api.anaconda.org" target="_blank">https://api.anaconda.org</a><br></font></div><div><font face="monospace"><br></font></div><div><font face="monospace">CondaValueError: pip returned an error.</font><br></div><div><br></div><div><br></div><div>Response from Mathew at dipy</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I don&#39;t use conda myself - but I guess that line must be wrong, and<br>you need to drop either the first or the second &#39;dipy&#39; , as in:<br>dependencies:<br> - pip:<br>   - --only-binary dipy<br>or:<br>dependencies:<br> - pip:<br>   - dipy --only-binary</blockquote><div><br></div><div>MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br><br></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 5:33 PM Megan Schendel &lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Dan,<div>I tried creating a new environment, and I&#39;m still getting the dipy error.  I&#39;ll try again removing the dipy line...</div><div>Thanks,<br>Megan</div><div><br></div><div>conda env create --name mne --file environment.yml<br>Using Anaconda Cloud api site <a href="https://api.anaconda.org" target="_blank">https://api.anaconda.org</a><br>Fetching package metadata ...........<br>Solving package specifications: .<br>pyzmq-19.0.1-p 100% |#######################################################################################################| Time: 0:00:00   2.75 MB/s<br>jedi-0.17.2-py 100% |#######################################################################################################| Time: 0:00:00   7.84 MB/s<br>ERROR: Invalid requirement: &#39;dipy --only-binary dipy&#39;<br><br>CondaValueError: pip returned an error.<br clear="all"><div><div dir="ltr"><div dir="ltr"><div><br></div><div><br></div><div>MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 4:16 PM Dan McCloy &lt;<a href="mailto:dan@mccloy.info" target="_blank">dan@mccloy.info</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div>If faced with this, I&#39;d recommend creating a *new* conda environment rather than trying to update an old one.  If it works cleanly, it&#39;s possible to delete the old one and rename the new one later if desired.  The only reason I can think of *not* to do it this way is if your disk space is highly constrained, or if your MNE-Python environment has a lot of extra packages added that aren&#39;t in our environment.yml file (in which case it might be a bit annoying to have to manually re-install those afterward).<br></div><div><br></div><div><div><div>-- dan<br></div><div>Daniel McCloy<br></div><div><a href="https://dan.mccloy.info" target="_blank">https://dan.mccloy.info</a><br></div><div>Research Scientist<br></div><div>Institute for Learning and Brain Sciences<br></div><div>University of Washington<br></div></div><div><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Thursday, September 3, 2020 5:05 PM, Megan Schendel &lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt; wrote:<br></div><div> <br></div><blockquote type="cite"><p><span style="background-color:rgb(255,0,0)"><span style="color:rgb(255,255,255)"><b>        External Email - Use Caution        </b></span></span><br></p><p><br></p><div dir="ltr"><div>Hi Eric,<br></div><div><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div><div>Thanks for the questions.  See terminal commands and outputs below. I&#39;m on Linux.<br></div><div>Since pip is listed in the environment.yml file, it should have been upgraded by the conda env -update command, right? <br></div><div>In the environment I&#39;m trying to update, mne is broken, so I can&#39;t use the python -c &quot;import mne; mne.sys_info()&quot; command.  The results below are from the environment where I have a working mne 0.15 package, but I&#39;m not sure which other modules have been updated there.<br></div><div><br></div><div><div>Thanks again,<br></div><div>Megan<br></div></div><div><br></div><div><b>updated environment:</b><br></div><div><div>pip --version<br></div><div>pip 20.2.2 from /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip (python 3.8)<br></div></div><div><br></div><div><div>python -c &quot;import setuptools; print(setuptools.__version__)&quot;<br></div><div>49.6.0.post20200814<br></div></div><div><b>/updated environment</b><br></div><div><br></div><div><br></div><div><b>old environment:</b><br></div><div><div>conda --version &amp;&amp; python --version<br></div><div>conda 4.3.30<br></div><div>Python 3.5.4 :: Anaconda 2.5.0 (64-bit)<br></div></div><div><div>python -c &quot;import mne; mne.sys_info()&quot;<br></div><div>Platform:      Linux-2.6.32-573.7.1.el6.x86_64-x86_64-with-centos-6.7-Final<br></div><div>Python:        3.5.4 |Anaconda 2.5.0 (64-bit)| (default, Aug 14 2017, 13:26:58)  [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]<br></div><div>Executable:    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/bin/python<br></div><div>CPU:           x86_64: 24 cores<br></div><div>Memory:        126.0 GB<br></div><div><br></div><div>mne:           0.15.2<br></div><div>numpy:         1.10.4 {lapack=SCIPY_MKL_H, blas=SCIPY_MKL_H}<br></div><div>scipy:         0.17.0<br></div><div>matplotlib:    3.0.3<br></div><div><br></div><div>sklearn:       0.17.1<br></div><div>nibabel:       2.3.3<br></div><div>mayavi:        Not found<br></div><div>pycuda:        Not found<br></div><div>skcuda:        Not found<br></div><div>pandas:        0.17.1<br></div></div><div><b>/old environment</b><br></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, Sep 3, 2020 at 3:37 PM Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="background-color:rgb(255,0,0)"><span style="color:rgb(255,255,255)"><b>        External Email - Use Caution        </b></span></span><br></p><p><br></p><div dir="ltr"><div>Building PyQt5 from source shouldn&#39;t happen. What platform are you on? Windows/Linux/macOS should in principle all work. Maybe you need to `pip install --upgrade pip`?<br></div><div><br></div><div>Can you also try:<br></div><div><br></div><div>$ python -c &quot;import setuptools; print(setuptools.__version__)&quot;<br></div><div><br></div><div>Setuptools 50.0 has broken things in SciPy lately, it&#39;s possible there are other bugs. If it&#39;s 50.0, try `pip install &quot;setuptools&lt;50.0&quot;`.<br></div><div><br></div><div>Eric<br></div><div><div><br></div></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, Sep 3, 2020 at 5:23 PM Megan Schendel &lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="background-color:rgb(255,0,0)"><span style="color:rgb(255,255,255)"><b>        External Email - Use Caution        </b></span></span><br></p><p><br></p><div dir="ltr"><div>Hi all,<br></div><div>Ok, I&#39;ve asked the dipy people about that error, but I could still use help with the update.<br></div><div>Should install instructions work for update, too? Should I just use pip to update mne instead of trying to use the new environment file?<br></div><div><div><br></div><div><div>I took the dipy line out of the environment file.  Here is the error I&#39;m getting from PyQt5....<br></div><div>Any ideas/suggestions?<br></div><div><div>Thank you,<br></div><div>Megan<br></div></div><div><br></div><div><div>Collecting PyQt5&gt;=5.10<br></div><div>  Using cached PyQt5-5.15.0.tar.gz (3.3 MB)<br></div><div>  Installing build dependencies: started<br></div><div>  Installing build dependencies: finished with status &#39;done&#39;<br></div><div>  Getting requirements to build wheel: started<br></div><div>  Getting requirements to build wheel: finished with status &#39;done&#39;<br></div><div>    Preparing wheel metadata: started<br></div><div>    Preparing wheel metadata: finished with status &#39;error&#39;<br></div><div>    ERROR: Command errored out with exit status 1:<br></div><div>     command: /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/bin/python /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmperieq8r7<br></div><div>         cwd: /tmp/pip-install-ci617d3e/pyqt5<br></div><div>    Complete output (35 lines):<br></div><div>    Querying qmake about your Qt installation...<br></div><div>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/bin/qmake -query<br></div><div>    Traceback (most recent call last):<br></div><div>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 126, in prepare_metadata_for_build_wheel<br></div><div>        hook = backend.prepare_metadata_for_build_wheel<br></div><div>    AttributeError: module &#39;sipbuild.api&#39; has no attribute &#39;prepare_metadata_for_build_wheel&#39;<br></div><div><br></div><div>    During handling of the above exception, another exception occurred:<br></div><div><br></div><div>    Traceback (most recent call last):<br></div><div>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 280, in &lt;module&gt;<br></div></div><div><div>        main()<br></div><div>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 263, in main<br></div><div>        json_out[&#39;return_val&#39;] = hook(**hook_input[&#39;kwargs&#39;])<br></div><div>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 130, in prepare_metadata_for_build_wheel<br></div><div>        return _get_wheel_metadata_from_wheel(backend, metadata_directory,<br></div><div>      File &quot;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 159, in _get_wheel_metadata_from_wheel<br></div><div>        whl_basename = backend.build_wheel(metadata_directory, config_settings)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/sipbuild/api.py&quot;, line 51, in build_wheel<br></div><div>        project = AbstractProject.bootstrap(&#39;pep517&#39;)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py&quot;, line 82, in bootstrap<br></div><div>        project.setup(pyproject, tool, tool_description)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/sipbuild/project.py&quot;, line 479, in setup<br></div><div>        self.apply_user_defaults(tool)<br></div><div>      File &quot;project.py&quot;, line 62, in apply_user_defaults<br></div><div>        super().apply_user_defaults(tool)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/pyqtbuild/project.py&quot;, line 89, in apply_user_defaults<br></div><div>        super().apply_user_defaults(tool)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/sipbuild/project.py&quot;, line 225, in apply_user_defaults<br></div><div>        self.builder.apply_user_defaults(tool)<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py&quot;, line 77, in apply_user_defaults<br></div><div>        self._get_qt_configuration()<br></div><div>      File &quot;/tmp/pip-build-env-uvtea85d/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py&quot;, line 450, in _get_qt_configuration<br></div><div>        raise UserException(<br></div><div>    sipbuild.exceptions.UserException<br></div><div>    ----------------------------------------<br></div><div>ERROR: Command errored out with exit status 1: /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/bin/python /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmperieq8r7 Check the logs for full command output.<br></div><div>Using Anaconda Cloud api site <a href="https://api.anaconda.org" target="_blank">https://api.anaconda.org</a><br></div><div><br></div><div>CondaValueError: pip returned an error.<br></div><div><div dir="ltr"><div dir="ltr"><div><div>MEG Technician<br></div><div>The Mind Research Network<br></div><div>1101 Yale Blvd. NE<br></div><div>Albuquerque, New Mexico 87106<br></div></div></div></div></div><div><br></div></div></div></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, Sep 3, 2020 at 1:18 AM Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@inria.fr" target="_blank">alexandre.gramfort@inria.fr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>        External Email - Use Caution        <br></div><div> <br></div><div> hi Megan,<br></div><div> <br></div><div> you should ask this question to the dipy developpers. We are just users here.<br></div><div> <br></div><div> Alex<br></div><div> <br></div><div> On Thu, Sep 3, 2020 at 1:54 AM Megan Schendel &lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt; wrote:<br></div><div> &gt;<br></div><div> &gt;         External Email - Use Caution<br></div><div> &gt;<br></div><div> &gt; HI all,<br></div><div> &gt; I&#39;m wondering if this is an error because I already have things installed.  The dipy page says to uninstall dipy before installing using pip.<br></div><div> &gt; Are there separate instructions for upgrades?  I realized I&#39;m trying to follow install instructions.<br></div><div> &gt;<br></div><div> &gt; &gt;&gt;&gt; import dipy<br></div><div> &gt; &gt;&gt;&gt; dipy.__file__<br></div><div> &gt; &#39;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/lib/python3.5/site-packages/dipy/__init__.py&#39;<br></div><div> &gt;<br></div><div> &gt; I also tried to do the upgrade after removing the dipy line from the .yml  file, but I got errors relating to PyQt<br></div><div> &gt; Collecting PyQt5&gt;=5.10<br></div><div> &gt;   Using cached PyQt5-5.15.0.tar.gz (3.3 MB)<br></div><div> &gt;   Installing build dependencies: started<br></div><div> &gt;   Installing build dependencies: finished with status &#39;done&#39;<br></div><div> &gt;   Getting requirements to build wheel: started<br></div><div> &gt;   Getting requirements to build wheel: finished with status &#39;done&#39;<br></div><div> &gt;     Preparing wheel metadata: started<br></div><div> &gt;     Preparing wheel metadata: finished with status &#39;error&#39;<br></div><div> &gt;<br></div><div> &gt; I may have more details on the error tomorrow. I lost my connection to the remote server I&#39;m working on.<br></div><div> &gt;<br></div><div> &gt; Thanks,<br></div><div> &gt; Megan<br></div><div> &gt; MEG Technician<br></div><div> &gt; The Mind Research Network<br></div><div> &gt; 1101 Yale Blvd. NE<br></div><div> &gt; Albuquerque, New Mexico 87106<br></div><div> &gt;<br></div><div> &gt;<br></div><div> &gt;<br></div><div> &gt; On Wed, Sep 2, 2020 at 4:58 PM Megan Schendel &lt;<a href="mailto:mschendel@mrn.org" target="_blank">mschendel@mrn.org</a>&gt; wrote:<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; Hi all,<br></div><div> &gt;&gt; I am attempting to follow upgrade instructions.  I was able to upgrade conda, and I succeeded in using curl to get the yml file.<br></div><div> &gt;&gt; However, when I try the conda env update, I eventually get an error when the update gets to dipy. See below. Any suggestions?<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; Thanks for your help,<br></div><div> &gt;&gt; Megan<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; conda env update --file environment.yml<br></div><div> &gt;&gt; Using Anaconda Cloud api site <a href="https://api.anaconda.org" rel="noreferrer" target="_blank">https://api.anaconda.org</a><br></div><div> &gt;&gt; Fetching package metadata ...........<br></div><div> &gt;&gt; Solving package specifications: .<br></div><div> &gt;&gt; ...<br></div><div> &gt;&gt; ERROR: Invalid requirement: &#39;dipy --only-binary dipy&#39;<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; conda --version &amp;&amp; python --version<br></div><div> &gt;&gt; conda 4.3.30<br></div><div> &gt;&gt; Python 3.8.5<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; Here is the contents of my environment.yml file:<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; name: mne<br></div><div> &gt;&gt; channels:<br></div><div> &gt;&gt; - defaults<br></div><div> &gt;&gt; dependencies:<br></div><div> &gt;&gt; - python&gt;=3.8<br></div><div> &gt;&gt; - pip<br></div><div> &gt;&gt; - numpy<br></div><div> &gt;&gt; - scipy<br></div><div> &gt;&gt; - matplotlib<br></div><div> &gt;&gt; - numba<br></div><div> &gt;&gt; - pandas<br></div><div> &gt;&gt; - xlrd<br></div><div> &gt;&gt; - scikit-learn<br></div><div> &gt;&gt; - h5py<br></div><div> &gt;&gt; - pillow<br></div><div> &gt;&gt; - statsmodels<br></div><div> &gt;&gt; - jupyter<br></div><div> &gt;&gt; - joblib<br></div><div> &gt;&gt; - psutil<br></div><div> &gt;&gt; - numexpr<br></div><div> &gt;&gt; - traits<br></div><div> &gt;&gt; - pyface<br></div><div> &gt;&gt; - traitsui<br></div><div> &gt;&gt; - imageio<br></div><div> &gt;&gt; - tqdm<br></div><div> &gt;&gt; - spyder-kernels<br></div><div> &gt;&gt; - pip:<br></div><div> &gt;&gt;   - mne<br></div><div> &gt;&gt;   - imageio-ffmpeg&gt;=0.4.1<br></div><div> &gt;&gt;   - vtk&gt;=9.0.1<br></div><div> &gt;&gt;   - pyvista&gt;=0.24<br></div><div> &gt;&gt;   - pyvistaqt<br></div><div> &gt;&gt;   - mayavi<br></div><div> &gt;&gt;   - PySurfer[save_movie]<br></div><div> &gt;&gt;   - dipy --only-binary dipy<br></div><div> &gt;&gt;   - nibabel<br></div><div> &gt;&gt;   - nilearn<br></div><div> &gt;&gt;   - neo<br></div><div> &gt;&gt;   - python-picard<br></div><div> &gt;&gt;   - PyQt5&gt;=5.10,&lt;5.14; platform_system == &quot;Darwin&quot;<br></div><div> &gt;&gt;   - PyQt5&gt;=5.10; platform_system != &quot;Darwin&quot;<br></div><div> &gt;&gt;<br></div><div> &gt;&gt; MEG Technician<br></div><div> &gt;&gt; The Mind Research Network<br></div><div> &gt;&gt; 1101 Yale Blvd. NE<br></div><div> &gt;&gt; Albuquerque, New Mexico 87106<br></div><div> &gt;&gt;<br></div><div> &gt; _______________________________________________<br></div><div> &gt; Mne_analysis mailing list<br></div><div> &gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br></div><div> &gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br></div><div> <br></div><div> _______________________________________________<br></div><div> Mne_analysis mailing list<br></div><div> <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br></div><div> <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br></div></blockquote></div><div>_______________________________________________<br></div><div> Mne_analysis mailing list<br></div><div> <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br></div><div> <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br></div></blockquote></div><div>_______________________________________________<br></div><div> Mne_analysis mailing list<br></div><div> <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br></div><div> <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br></div></blockquote></div></blockquote><div><br></div>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>
</blockquote></div>
</blockquote></div>