You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error message "ERROR: Could not install packages due to an OSError" during installation #126
Describe the bug
Got this error message: "ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\Users\USER\AppData\Local\Temp\pip-uninstall-xgzi6dgr\send2trash.exe'
Consider using the --user option or check the permissions." when trying to install Xircuits using "pip install xircuits[full]"
Conda version: 4.10.3
Python version: 3.9.10
To Reproduce
Steps to reproduce the behavior:
Create Python environment with Conda.
Run command "pip install xircuits[full]
Wait for the installation to progress.
See error
Expected behavior
Done installation.
Screenshots
Tested on?
Windows 10
Linux Ubuntu
Centos
Mac
Others (State here -> xxx )
Additional context
Add any other context about the problem here.
Hey, thanks for trying out Xircuits!
Looking at the logs, it looks like the there's some permission errors. I can think of several reasons, but one of them is that we haven't actually pushed the alt install [full] version to pypi yet. We've also yet to test out installation via conda venvs.
In the meantime, can you try installing it via venv? Using conda's python3.9, go to your work directory and try
Apparently pywin32=303 has this issue. I used pywin32=225 instead, as per this SO thread.
That's very interesting, thanks for documenting it. It may be a conda thing.
May I ask, this extension only works on Jupyter Lab and not Notebook right?
Yep, Xircuits is a Jupyterlab based extension, it comes along with Jupyterlab goodies. That to say, you can open and use notebooks in Jupyterlab. We also have plans to create notebook components so that you can do things in notebooks and port them into the canvas.
Although it should've been fixed since 1.3, I've finally gotten to test it out myself and can confirm xircuits is fully functional in an conda env now.
Activity
MFA-X-AI commentedon Mar 24, 2022
Hey, thanks for trying out Xircuits!
Looking at the logs, it looks like the there's some permission errors. I can think of several reasons, but one of them is that we haven't actually pushed the alt install [full] version to pypi yet. We've also yet to test out installation via conda venvs.
In the meantime, can you try installing it via venv? Using conda's python3.9, go to your work directory and try
Edit:
The quickest fix would be running the install as admin. 😄
yuenherny commentedon Mar 26, 2022
Thanks so much for the reply. @MFA-X-AI
The following worked for me on Miniconda Prompt:
I bumped into this error when I call
jupyter laborjupyter notebook:Apparently pywin32=303 has this issue. I used pywin32=225 instead, as per this SO thread.
Then only it works.

May I ask, this extension only works on Jupyter Lab and not Notebook right?
MFA-X-AI commentedon Mar 27, 2022
That's very interesting, thanks for documenting it. It may be a conda thing.
Yep, Xircuits is a Jupyterlab based extension, it comes along with Jupyterlab goodies. That to say, you can open and use notebooks in Jupyterlab. We also have plans to create notebook components so that you can do things in notebooks and port them into the canvas.
MFA-X-AI commentedon May 5, 2022
Although it should've been fixed since 1.3, I've finally gotten to test it out myself and can confirm xircuits is fully functional in an conda env now.