External Email - Use Caution
Hi all,
I am getting the same PyQt5 error when I try the install via create
environment.
So attempting to creating a new environment did nothing to solve either of
the errors I was getting trying to update the environment.
In the new environment, I can import the mne module, but it doesn't have a
.__version__ attribute or a .sysinfo() attribute, so it's still broken.
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 'dipy', 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'll also try to check with the PyQt5 devs to see about the error I'm
getting on that.
Thanks for any help,
Megan
PyQt5 error...
Collecting PyQt5>=5.10
Using cached PyQt5-5.15.0.tar.gz (3.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
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
cwd: /tmp/pip-install-02yoibkc/pyqt5
Complete output (35 lines):
Querying qmake about your Qt installation...
/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/bin/qmake
-query
Traceback (most recent call last):
File
"/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py",
line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute
'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py",
line 280, in <module>
main()
File
"/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py",
line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File
"/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py",
line 130, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(backend, metadata_directory,
File
"/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py",
line 159, in _get_wheel_metadata_from_wheel
whl_basename = backend.build_wheel(metadata_directory,
config_settings)
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/api.py",
line 51, in build_wheel
project = AbstractProject.bootstrap('pep517')
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py",
line 82, in bootstrap
project.setup(pyproject, tool, tool_description)
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/project.py",
line 479, in setup
self.apply_user_defaults(tool)
File "project.py", line 62, in apply_user_defaults
super().apply_user_defaults(tool)
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/project.py",
line 89, in apply_user_defaults
super().apply_user_defaults(tool)
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/sipbuild/project.py",
line 225, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py",
line 77, in apply_user_defaults
self._get_qt_configuration()
File
"/tmp/pip-build-env-6gc1wdbn/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py",
line 450, in _get_qt_configuration
raise UserException(
sipbuild.exceptions.UserException