Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pycharm Virtual environment
#1
Hello, I am a beginner at coding and have been using Pycharm as my IDE to learn the basics of python. I have been following a book on python, and now I am past the basics, so I am starting to have to install new site packages. So, when I try installing these new packages, there is a place directly in pycharm when you go to interpreter settings that allows you to download a site package to that Venv specifically. For some reason, everytime I try to download something like matplotlib, it says Cythonize failed. I was not sure what was going wrong here. When I first downloaded python, the python installer was installing my python in an app data folder. When I would try to select my interpreter path, I couldn't access the app data folder to get to my python.exe. So, I uninstalled it then re downloaded it and put it in a directory I can access through pycharm. First of all, am i ok to download python to any folder I want or is there an ideal place you should download it to? Secondly, I am still having the cythonize fail error. I can use pip install in my cmd prompt but I am confused as to how to access these site packages in pycharm after i use the pip install command. Lastly, each time I start a new pycharm project, do I create a new virtual environment specific only to that project? It seems as though some of my venv is dependent on the venv of other projects. Some insight on these questions would be greatly appreciated. Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with creating folder and "virtual environment" AudunNilsen 1 219 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  Installing python packages in a virtual environment Led_Zeppelin 1 759 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Problem with virtual environment standenman 2 1,005 Feb-23-2023, 07:09 PM
Last Post: standenman
Question Virtual Environment (using VS Code) Ashcora 4 13,674 Feb-15-2023, 07:17 PM
Last Post: snippsat
  How do I link the virtual environment of that project to the 3.9.2 version of python? Bryant11 1 1,369 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  Project structure with a virtual environment gdbengo 1 1,429 Jan-26-2022, 03:22 PM
Last Post: snippsat
  Virtual environment path? Led_Zeppelin 1 2,301 Jul-22-2021, 01:40 PM
Last Post: snippsat
  virtual environment heye 4 2,445 Jul-04-2021, 06:47 AM
Last Post: ndc85430
  import statement in a virtual environment leodavinci1990 1 2,348 Mar-04-2021, 12:57 AM
Last Post: snippsat
  Virtual environment and upgrading python 3.5 to 3.9 NeilUK 4 12,124 Jan-24-2021, 01:02 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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