pydicom instalacja

0

Edit: ROZWIĄZANY PROBLEM!

wojcio@wojcio-GF63-8RC:~$ pip install -U pydicom
Collecting pydicom
  Using cached https://files.pythonhosted.org/packages/97/ae/93aeb6ba65cf976a23e735e9d32b0d1ffa2797c418f7161300be2ec1f1dd/pydicom-1.2.0-py2.py3-none-any.whl
Installing collected packages: pydicom
Could not install packages due to an EnvironmentError: [Errno 13] Brak dostępu: '/usr/local/lib/python2.7/dist-packages/dicom.pyc'
Consider using the `--user` option or check the permissions.

wojcio@wojcio-GF63-8RC:~$ pip install -U git+https://github.com/pydicom/pydicom.git
Collecting git+https://github.com/pydicom/pydicom.git
  Cloning https://github.com/pydicom/pydicom.git to /tmp/pip-req-build-YfqeuU

Building wheels for collected packages: pydicom
  Running setup.py bdist_wheel for pydicom ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-SBorbF/wheels/da/32/3a/d6343243f5f7f2a1931f07d73081eaf420f2eb4b0f570781ca
Successfully built pydicom
Installing collected packages: pydicom
Could not install packages due to an EnvironmentError: [Errno 13] Brak dostępu: '/usr/local/lib/python2.7/dist-packages/dicom.pyc'
Consider using the `--user` option or check the permissions.

Witam,
nie potrafie zainstalować pydicom do mojego pythona. Jak użyć powinienem tego --user ? Albo w jakiś inny sposób?

0
wojcio@wojcio-GF63-8RC:~$ sudo python -m pip install pydicom
[sudo] hasło użytkownika wojcio: 
The directory '/home/wojcio/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/wojcio/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pydicom
  Downloading https://files.pythonhosted.org/packages/97/ae/93aeb6ba65cf976a23e735e9d32b0d1ffa2797c418f7161300be2ec1f1dd/pydicom-1.2.0-py2.py3-none-any.whl (7.3MB)
    100% |████████████████████████████████| 7.3MB 1.5MB/s 
Installing collected packages: pydicom
Successfully installed pydicom-1.2.0

Dla potomnych zostawić? Nie wiem czy usuwać pytanie? czy zostawić?
Proszę o komentarz spolecznosci

1

Nie Masz dostępu do tych plików (admin). Zainstaluj z opcją --user do swojego katalogu domowego.

1 użytkowników online, w tym zalogowanych: 0, gości: 1