Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

pycharm interpreter installation error--permission denied?

hello:

i have recently installed python ide pycharm, which is about 800 mb in size, I successfully installed pycharm interpreter ide, but when i try to start a new project, it give me error indicating: permission denied, to reference underlying interpreter in given directory, what are the problems and how to fix, any recommendation

thanks

1 Answer

Relevance
  • 5 months ago
    Favorite Answer

    Make sure you're not trying to use a system directory to store your project files in.  If you're not an admin running elevated, that will cause a 'permission denied' error.

    Also, if you use add-on packages from PyPI or some other repository in your project, PyCharm may try to update the selected interpreter with the required version of those packages.  For system-wide installations, that requires elevation, too.  Probably the best option there is to use a "virtual environment".  You can read more about that from a PyCharm point of view at:

    https://www.jetbrains.com/help/pycharm/creating-vi...

    ...and about Python virtual environments in general starting at the docs for the "venv" module:

    https://docs.python.org/3/library/venv.html

    ...and following links from there to the original proposal (PEP 405) and other docs.

Still have questions? Get your answers by asking now.