I am using # r:
for some modules that use numpy. It seems there is some conflict. On first run this error appears:
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\local user\.rhinocode\py39-rh8\lib\site-packages\pip\_internal\cli\base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "C:\Users\local user\.rhinocode\py39-rh8\lib\site-packages\pip\_internal\cli\base_command.py", line 96, in _inner_run
return self.run(options, args)
File "C:\Users\local user\.rhinocode\py39-rh8\lib\site-packages\pip\_internal\cli\req_command.py", line 67, in wrapper
return func(self, options, args)
File "C:\Users\local user\.rhinocode\py39-rh8\lib\site-packages\pip\_internal\commands\install.py", line 519, in run
self._handle_target_dir(
File "C:\Users\local user\.rhinocode\py39-rh8\lib\site-packages\pip\_internal\commands\install.py", line 574, in _handle_target_dir
shutil.rmtree(target_item_dir)
File "C:\Users\local user\.rhinocode\py39-rh8\lib\shutil.py", line 749, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\local user\.rhinocode\py39-rh8\lib\shutil.py", line 622, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\local user\.rhinocode\py39-rh8\lib\shutil.py", line 627, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\local user\.rhinocode\py39-rh8\lib\shutil.py", line 625, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\local user\\.rhinocode\\py39-rh8\\site-envs\\default-IGMPn0fL\\numpy\\linalg\\_umath_linalg.cp39-win_amd64.pyd'
Subsequent runs have the error: Corrupt Environment. Restart Rhino3D
.