Installation problems on Windows
See original GitHub issueUsing the default command pip install mnelab
on Windows I get:
Installing collected packages: PyQt5, mnelab
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\mmagn\\Continuum\\anaconda3\\Lib\\site-packages\\PyQt5\\Qt.pyd'
Consider using the `--user` option or check the permissions.
strangely, I get it even when I run it in command prompt with administrator privileges. When I run using pip install mnelab --user
the script the mnelab.exe
is put in a separate directory and does not do anything. When I then first activate my base anaconda env (it is my default python so I don’t know why it makes any difference) and then do pip install mnelab
- I get everything installed in one directory but mnelab.exe
still does not work.
When I try to import mnelab in python I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\mmagn\Continuum\anaconda3\lib\site-packages\mnelab\__init__.py", line 1, in <module>
from .mainwindow import MainWindow
File "C:\Users\mmagn\Continuum\anaconda3\lib\site-packages\mnelab\mainwindow.py", line 7, in <module>
from PyQt5.QtCore import (pyqtSlot, QStringListModel, QModelIndex, QSettings,
ModuleNotFoundError: No module named 'PyQt5.sip'
I might have been unlucky - I can test tomorrow on other Windows computers.
Issue Analytics
- State:
- Created 4 years ago
- Comments:27 (19 by maintainers)
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
Identify Windows Installer issues · Click Start windows icon · Right-click Windows Installer, and then click Properties. · If the Startup type box...
Read more >12 irritating Windows 10 installation issues, and how to fix them
Having trouble installing and setting up Windows 10? You aren't alone. Here are a dozen-plus of the most common problems, along with a...
Read more >How to Fix the Most Common Windows 10 Installation Problems
How to fix the most common Windows 10 installation problems · Run the Windows Update troubleshooter · Low disk space · ISO image...
Read more >8 Ways to Fix Windows 10 if It Won't Install on Your PC
1. Fix Driver errors · 2. Keep your PC on and try installing again · 3. Turn off VPN software and increase the...
Read more >[SOLVED] Windows 10 Could Not Complete the Installation + ...
Case 2: Windows 10 Installation Has Failed · Fix 1. Check Whether Your Computer Meets the Minimum Requirements · Fix 2. Clear Certain...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Often one might want to use defaults channel as the default and only install packages not present there from conda-forge, especially in the base environment, like:
conda install -c defaults -c conda-forge mnelab
Anyway python packaging is notably horrible, and almost always good idea to use environments.
Yes, let’s wait. Just to make it clear,
pip install --no-deps mnelab
would have worked in his case.