zalandoresearch / pytorch-ts

PyTorch based Probabilistic Time Series forecasting framework based on GluonTS backend
MIT License
1.21k stars 190 forks source link

ERROR: Could not install packages due to an OSError: #56

Open wenouyang opened 3 years ago

wenouyang commented 3 years ago

Hello, I was trying to install pytorch-ts using pipe install pytorchts in the Anaconda environment, and got the following error message. Any hint or suggestions on how to fix it will be highly appreciated. I did not get this kind of permission error when using pip to install other packages.

Successfully built pytorchts subprocess32 pathtools
Installing collected packages: smmap, gitdb, subprocess32, shortuuid, sentry-sdk, promise, pathtools, GitPython, docker-pycreds, configparser, wandb, torch, pytorchts
  Attempting uninstall: torch
    Found existing installation: torch 1.6.0
    Uninstalling torch-1.6.0:
      Successfully uninstalled torch-1.6.0
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\users\\anaconda3\\envs\\jane_street_kaggle\\lib\\site-packages\\~orch\\lib\\asmjit.dll'
Consider using the `--user` option or check the permissions.
kashif commented 3 years ago

seems like its an issue with permissions, can you try to install pip install -U --user torch?