Python Forum
Problem after changing Python directory
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem after changing Python directory
#2
Hi,
In PyCharm you can setup different Python Environments and also define the interpreter. You can even go so far that you can tell PyCharm where to find it. The Environment and Interpreter you got while first installing everything is invalid since you reinstalled everything in a new path. Go to Settings and there select the Python Interpreter and create a new Environment where you define where to find the new python.
In the second part it seems that pip lacks authorization. It is always a good thing to install python modules only for one user and not system wide. (maybe this helps already: https://stackoverflow.com/questions/3117...on-windows )
If you want to make it very easy for yourself in general manage your python packages with anaconda ( https://www.anaconda.com/distribution/ )
Reply


Messages In This Thread
RE: Problem after changing Python directory - by ThiefOfTime - Jan-25-2020, 05:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Virtual Env changing mysql connection string in python Fredesetes 0 1,011 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Changing a string value to a numerical value using python code and a lamda function Led_Zeppelin 6 2,847 Jul-05-2022, 11:29 PM
Last Post: deanhystad
  changing Python files to .exe alok 2 2,904 Jul-20-2021, 02:49 PM
Last Post: alok
  problem with sphinx and file directory in script kiyoshi7 0 2,932 Mar-11-2021, 03:52 PM
Last Post: kiyoshi7
  Changing Index of 2 List in python giddyhead 0 2,063 Mar-05-2021, 05:45 PM
Last Post: giddyhead
  Automating to run python script 100 times by changing parameters pmt 1 3,368 Dec-29-2020, 10:31 AM
Last Post: andydoc
  Changing to new Python formatting example leodavinci1990 3 2,691 Sep-22-2020, 07:36 PM
Last Post: yaythomas
  changing animation speed using buttons in python microwave 1 3,064 Jun-24-2020, 05:21 PM
Last Post: GOTO10
  Solve Pynput Problem when changing language? ppel123 0 3,108 Feb-19-2020, 03:38 PM
Last Post: ppel123
  changing the process command line arguments in python Skaperen 3 3,840 Aug-19-2019, 02:40 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020