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
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 3,586 Nov-27-2024, 02:20 PM
Last Post: menator01
  How to enable Matplotlib within virtual environment? tetris_theMovie 1 1,122 Oct-11-2024, 09:56 AM
Last Post: christie2
  Need help setting up trusted root ca in virtual environment dstempfley 0 1,260 May-31-2024, 03:14 PM
Last Post: dstempfley
  Help with creating folder and "virtual environment" AudunNilsen 1 1,027 Mar-21-2024, 04:41 AM
Last Post: deanhystad
  Installing python packages in a virtual environment Led_Zeppelin 1 1,651 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Problem with virtual environment standenman 2 2,241 Feb-23-2023, 07:09 PM
Last Post: standenman
Question Virtual Environment (using VS Code) Ashcora 4 70,388 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 2,296 Feb-26-2022, 11:15 AM
Last Post: Larz60+
  Project structure with a virtual environment gdbengo 1 2,248 Jan-26-2022, 03:22 PM
Last Post: snippsat
  Virtual environment path? Led_Zeppelin 1 3,028 Jul-22-2021, 01:40 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