Как правильно устанавливать дополнительные библиотеки в python?

Я новичок в этом деле, поэтому не до конца понимаю архитектуру всего этого. Когда я создавал проекты в PyCharm приходилось каждый раз заново скачивать библиотеки по типу "pandas", "numpy" и т.д. И в один момент я столкнулся с проблемой, что не смог установить фрэймворк TensorFlow. В среде разработки есть встроенный терминал, в нем я и вводил команды по типу "pip install ...". Причем там было не все так просто, из за отсутствия сертификата SSL. И приходилось писать

"pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <...>". Но сейчас не об этом. При попытке установки tensorflow в консоли выбрасывается 2 ошибки:

ERROR: Could not find a version that satisfies the requirement typing-extensions~=3.7.4 (from tensorflow) (from versions: none)

и

ERROR: No matching distribution found for typing-extensions~=3.7.4 (from tensorflow)

После этого я погуглил, и понял, что есть иной способ установки пакетов, через cmd.exe (ОС windows). Там у меня получилось установить все что нужно, включая tensorflow. Но там появилась другая проблема:

WARNING: The script chardetect.exe is installed in 'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Но и эти варнинги я смог устранить, с помощью добавления пути в переменные среды. Только вот использовать установленные пакеты в PyCharm я так и не смог. Если я правильно понял, то нужно как-то указать путь в самой среде разработки, после создания проекта, чтобы все установленные пакеты были видны при импорте. Собственно в этом и заключается мой вопрос. Спасибо заранее тем, кому хватило терпения дочитать все это до конца.
PS Компьютер рабочий, и здесь локальная учетная запись, то есть нет полноценных прав администратора, скорее всего это играет определенную роль в данной проблеме..
PSS Полный лог установки в cmd.exe:

C:\Users\User\AppData\Local\Programs\Python\Python38>python -m pip 
install --trusted-host pypi.org --trusted-host files.pythonhosted.org tensorflow
Collecting tensorflow
Using cached tensorflow-2.5.0-cp38-cp38-win_amd64.whl (422.6 MB)
Collecting opt-einsum~=3.3.0
Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting keras-preprocessing~=1.1.2
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting gast==0.4.0
Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting wheel~=0.35
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting tensorboard~=2.5
Using cached tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
Collecting astunparse~=1.6.3
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting keras-nightly~=2.5.0.dev
Using cached keras_nightly-2.5.0.dev2021032900-py2.py3-none-any.whl (1.2 MB)
Collecting grpcio~=1.34.0
Using cached grpcio-1.34.1-cp38-cp38-win_amd64.whl (2.9 MB)
Collecting termcolor~=1.1.0
Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Collecting absl-py~=0.10
Using cached absl_py-0.12.0-py3-none-any.whl (129 kB)
Collecting tensorflow-estimator<2.6.0,>=2.5.0rc0
Using cached tensorflow_estimator-2.5.0-py2.py3-none-any.whl (462 kB)
Collecting google-pasta~=0.2
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting protobuf>=3.9.2
Using cached protobuf-3.17.0-py2.py3-none-any.whl (173 kB)
Collecting h5py~=3.1.0
Using cached h5py-3.1.0-cp38-cp38-win_amd64.whl (2.7 MB)
Collecting tensorflow
Downloading tensorflow-2.4.1-cp38-cp38-win_amd64.whl (370.7 MB)
 |████████████████████████████████| 370.7 MB 40 kB/s
Collecting grpcio~=1.32.0
Downloading grpcio-1.32.0-cp38-cp38-win_amd64.whl (2.6 MB)
 |████████████████████████████████| 2.6 MB 6.4 MB/s
Collecting wrapt~=1.12.1
Using cached wrapt-1.12.1.tar.gz (27 kB)
Collecting h5py~=2.10.0
Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl (2.5 MB)
 |████████████████████████████████| 2.5 MB 6.4 MB/s
Collecting tensorflow
Downloading tensorflow-2.4.0-cp38-cp38-win_amd64.whl (370.7 MB)
 |████████████████████████████████| 370.7 MB 7.2 kB/s
Collecting tensorflow-estimator<2.5.0,>=2.4.0rc0
Downloading tensorflow_estimator-2.4.0-py2.py3-none-any.whl (462 kB)
 |████████████████████████████████| 462 kB 6.4 MB/s
Collecting tensorflow
Downloading tensorflow-2.3.2-cp38-cp38-win_amd64.whl (342.5 MB)
 |████████████████████████████████| 342.5 MB 18 kB/s
Collecting tensorflow-estimator<2.4.0,>=2.3.0
Downloading tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
 |████████████████████████████████| 459 kB 6.4 MB/s
Collecting grpcio>=1.8.6
Downloading grpcio-1.37.1-cp38-cp38-win_amd64.whl (3.1 MB)
 |████████████████████████████████| 3.1 MB 6.4 MB/s
Collecting gast==0.3.3
Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting six>=1.12.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting numpy<1.19.0,>=1.16.0
Downloading numpy-1.18.5-cp38-cp38-win_amd64.whl (12.8 MB)
 |████████████████████████████████| 12.8 MB 28 kB/s
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
 |████████████████████████████████| 781 kB 6.8 MB/s
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Downloading tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Requirement already satisfied: setuptools>=41.0.0 in 
c:\users\user\appdata\local\programs\python\python38\lib\site-packages (from tensorboard~=2.5->tensorflow) (49.2.1)
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.30.0-py2.py3-none-any.whl (146 kB)
 |████████████████████████████████| 146 kB 6.4 MB/s
Collecting werkzeug>=0.11.15
Downloading Werkzeug-2.0.1-py3-none-any.whl (288 kB)
 |████████████████████████████████| 288 kB ...
Collecting markdown>=2.6.8
Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
 |████████████████████████████████| 97 kB 2.2 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.4-py2.py3-none-any.whl (18 kB)
Collecting requests<3,>=2.21.0
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.2.2-py3-none-any.whl (11 kB)
Collecting pyasn1-modules>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
 |████████████████████████████████| 155 kB 6.8 MB/s
Collecting rsa<5,>=3.1.4
Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0
Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
 |████████████████████████████████| 77 kB 1.4 MB/s
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting oauthlib>=3.0.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
 |████████████████████████████████| 147 kB 6.8 MB/s
Using legacy 'setup.py install' for termcolor, since package 'wheel' 
is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is 
not installed.
Installing collected packages: urllib3, pyasn1, idna, chardet, 
certifi, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, google-auth, wheel, werkzeug, tensorboard-plugin-wit, tensorboard-data-server, protobuf, numpy, markdown, grpcio, google-auth-oauthlib, absl-py, wrapt, termcolor, tensorflow-estimator, tensorboard, opt-einsum, keras-preprocessing, h5py, google-pasta, gast, astunparse, tensorflow
WARNING: The script chardetect.exe is installed in 'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pyrsa-decrypt.exe, pyrsa-encrypt.exe, pyrsa-keygen.exe, pyrsa-priv2pub.exe, pyrsa-sign.exe and pyrsa-verify.exe are installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script wheel.exe is installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script f2py.exe is installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script markdown_py.exe is installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script google-oauthlib-tool.exe is installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for wrapt ... done
Running setup.py install for termcolor ... done
WARNING: The script tensorboard.exe is installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts estimator_ckpt_converter.exe, saved_model_cli.exe, tensorboard.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 
'C:\Users\User\AppData\Local\Programs\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed absl-py-0.12.0 astunparse-1.6.3 cachetools-4.2.2 certifi-2020.12.5 chardet-4.0.0 gast-0.3.3 google-auth-1.30.0 google-auth-oauthlib-0.4.4 google-pasta-0.2.0 grpcio-1.37.1 h5py-2.10.0 idna-2.10 keras-preprocessing-1.1.2 markdown-3.3.4 numpy-1.18.5 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.17.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 six-1.16.0 tensorboard-2.5.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.0 tensorflow-2.3.2 tensorflow-estimator-2.3.0 termcolor-1.1.0 urllib3-1.26.4 werkzeug-2.0.1 wheel-0.36.2 wrapt-1.12.1

Переменные среды


Ответы (0 шт):