<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">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`?<div><br></div><div>Can you also try:</div><div><br></div><div>$ python -c &quot;import setuptools; print(setuptools.__version__)&quot;</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;`.</div><div><br></div><div>Eric<br></div><div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 5:23 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"><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 dir="ltr"><div>Hi all,</div>Ok, I&#39;ve asked the dipy people about that error, but I could still use help with the update.<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?</div><div><br><div>I took the dipy line out of the environment file.  Here is the error I&#39;m getting from PyQt5....<div>Any ideas/suggestions?</div><div>Thank you,<br>Megan</div><div><br></div><div>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/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>         cwd: /tmp/pip-install-ci617d3e/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/mne20conda4/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>    AttributeError: module &#39;sipbuild.api&#39; has no attribute &#39;prepare_metadata_for_build_wheel&#39;<br><br>    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/mne20conda4/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py&quot;, line 280, in &lt;module&gt;</div><div>        main()<br>      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>        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/mne20conda4/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/mne20conda4/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-uvtea85d/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-uvtea85d/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-uvtea85d/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-uvtea85d/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-uvtea85d/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-uvtea85d/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-uvtea85d/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/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>Using Anaconda Cloud api site <a href="https://api.anaconda.org" target="_blank">https://api.anaconda.org</a><br><br>CondaValueError: pip returned an error.<br clear="all"><div><div dir="ltr"><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></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">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">        External Email - Use Caution        <br>
<br>
hi Megan,<br>
<br>
you should ask this question to the dipy developpers. We are just users here.<br>
<br>
Alex<br>
<br>
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>
&gt;<br>
&gt;         External Email - Use Caution<br>
&gt;<br>
&gt; HI all,<br>
&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>
&gt; Are there separate instructions for upgrades?  I realized I&#39;m trying to follow install instructions.<br>
&gt;<br>
&gt; &gt;&gt;&gt; import dipy<br>
&gt; &gt;&gt;&gt; dipy.__file__<br>
&gt; &#39;/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/lib/python3.5/site-packages/dipy/__init__.py&#39;<br>
&gt;<br>
&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>
&gt; Collecting PyQt5&gt;=5.10<br>
&gt;   Using cached PyQt5-5.15.0.tar.gz (3.3 MB)<br>
&gt;   Installing build dependencies: started<br>
&gt;   Installing build dependencies: finished with status &#39;done&#39;<br>
&gt;   Getting requirements to build wheel: started<br>
&gt;   Getting requirements to build wheel: finished with status &#39;done&#39;<br>
&gt;     Preparing wheel metadata: started<br>
&gt;     Preparing wheel metadata: finished with status &#39;error&#39;<br>
&gt;<br>
&gt; I may have more details on the error tomorrow. I lost my connection to the remote server I&#39;m working on.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Megan<br>
&gt; MEG Technician<br>
&gt; The Mind Research Network<br>
&gt; 1101 Yale Blvd. NE<br>
&gt; Albuquerque, New Mexico 87106<br>
&gt;<br>
&gt;<br>
&gt;<br>
&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>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&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>
&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>
&gt;&gt;<br>
&gt;&gt; Thanks for your help,<br>
&gt;&gt; Megan<br>
&gt;&gt;<br>
&gt;&gt; conda env update --file environment.yml<br>
&gt;&gt; Using Anaconda Cloud api site <a href="https://api.anaconda.org" rel="noreferrer" target="_blank">https://api.anaconda.org</a><br>
&gt;&gt; Fetching package metadata ...........<br>
&gt;&gt; Solving package specifications: .<br>
&gt;&gt; ...<br>
&gt;&gt; ERROR: Invalid requirement: &#39;dipy --only-binary dipy&#39;<br>
&gt;&gt;<br>
&gt;&gt; conda --version &amp;&amp; python --version<br>
&gt;&gt; conda 4.3.30<br>
&gt;&gt; Python 3.8.5<br>
&gt;&gt;<br>
&gt;&gt; Here is the contents of my environment.yml file:<br>
&gt;&gt;<br>
&gt;&gt; name: mne<br>
&gt;&gt; channels:<br>
&gt;&gt; - defaults<br>
&gt;&gt; dependencies:<br>
&gt;&gt; - python&gt;=3.8<br>
&gt;&gt; - pip<br>
&gt;&gt; - numpy<br>
&gt;&gt; - scipy<br>
&gt;&gt; - matplotlib<br>
&gt;&gt; - numba<br>
&gt;&gt; - pandas<br>
&gt;&gt; - xlrd<br>
&gt;&gt; - scikit-learn<br>
&gt;&gt; - h5py<br>
&gt;&gt; - pillow<br>
&gt;&gt; - statsmodels<br>
&gt;&gt; - jupyter<br>
&gt;&gt; - joblib<br>
&gt;&gt; - psutil<br>
&gt;&gt; - numexpr<br>
&gt;&gt; - traits<br>
&gt;&gt; - pyface<br>
&gt;&gt; - traitsui<br>
&gt;&gt; - imageio<br>
&gt;&gt; - tqdm<br>
&gt;&gt; - spyder-kernels<br>
&gt;&gt; - pip:<br>
&gt;&gt;   - mne<br>
&gt;&gt;   - imageio-ffmpeg&gt;=0.4.1<br>
&gt;&gt;   - vtk&gt;=9.0.1<br>
&gt;&gt;   - pyvista&gt;=0.24<br>
&gt;&gt;   - pyvistaqt<br>
&gt;&gt;   - mayavi<br>
&gt;&gt;   - PySurfer[save_movie]<br>
&gt;&gt;   - dipy --only-binary dipy<br>
&gt;&gt;   - nibabel<br>
&gt;&gt;   - nilearn<br>
&gt;&gt;   - neo<br>
&gt;&gt;   - python-picard<br>
&gt;&gt;   - PyQt5&gt;=5.10,&lt;5.14; platform_system == &quot;Darwin&quot;<br>
&gt;&gt;   - PyQt5&gt;=5.10; platform_system != &quot;Darwin&quot;<br>
&gt;&gt;<br>
&gt;&gt; MEG Technician<br>
&gt;&gt; The Mind Research Network<br>
&gt;&gt; 1101 Yale Blvd. NE<br>
&gt;&gt; Albuquerque, New Mexico 87106<br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&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>
<br>
_______________________________________________<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><br>
</blockquote></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>