Linked Questions

4 votes
2 answers
9k views

I have a project with the following structure: . └── project ├── assignment01 | ├── __init__.py | └── old_file.py | ├── assignment02 | ├── __init__.py ...
Marcello Zago's user avatar
0 votes
2 answers
2k views

I'm trying to create my first package using the format from the python tutorial and am getting ModuleNotFoundError when trying to run unittests from the tests subfolder in PyCharm, but can run the ...
kevin_insert_somethin_fun_here's user avatar
0 votes
1 answer
187 views

I have a problem with my python modules for a project. Here's my tree for my project : Documents/Projects/projet/ ├── code │   ├── datas │   │   ├── Lexique383 │   │   │   └── Lexique383.tsv │   │   └─...
Moa's user avatar
  • 3
1 vote
0 answers
123 views

I have specific project structure - src - common/ - constants/ - __init__.py - database.py - user - create/ - main.py - constants/ - app_constants.py -...
psowa001's user avatar
  • 853
1 vote
0 answers
115 views

Currently I'm working with multiple people on a python project. We are working with Github. I connected Git with Pycharm. There is a main file and in that main file there are functions called from ...
Tim's user avatar
  • 437
0 votes
1 answer
115 views

My Project Structure My Pycharm Screenshot Hello, if you can see the attached screenshot of my Django project in Pycharm, you'll see that all the imports from other app folders have a red ...
Shafin M's user avatar
0 votes
1 answer
75 views

Consider I have a project with the following structure: A/a1.py A/B/b1.py A/B/C/c1.py D/E/F/f1.py main.py I need to do the following imports main.py needs to import a1 a1 needs to import b1 b1 needs ...
aushdk's user avatar
  • 11
0 votes
1 answer
57 views

This is how my project looks: src/ data_readers/ - __init__.py - d2d_releases_reader.py main/ d2d_interactions/ - __init__.py - ...
Bar's user avatar
  • 83
0 votes
0 answers
48 views

Im having some issues with virtual enviroments, i have a pycharm project where i want to launch it from my terminal, however when launching the project it seems like my internal modules are not found. ...
Mathias Albrechtsen's user avatar
0 votes
0 answers
49 views

I have recently started using PyCharm to write my python code. In the past, I have used Jupyter Notebook more. I thought that the packages I have installed in Jupyter would work in PyCharm, but this ...
Vishwa's user avatar
  • 55
0 votes
0 answers
44 views

I have a folder structure as follows: python_projects | |- common_tools | |- __init__.py | |- some_functions.py | |- some_project |- main.py I currently import some_functions.py into main.py as ...
pt1243's user avatar
  • 1
0 votes
0 answers
43 views

I have a project that I imported. It has structure of: my_package | _ my_package | _ operators |_ myoperator.py (that contains MyOperator class) imports in code of ...
Slava's user avatar
  • 435
0 votes
0 answers
29 views

I am copying analysis files to my local PyCharm to reproduce parts of it. I have a scsim.py file which runs without errors. But when I call it from another .py file as from scsim import scsim, it says ...
Yulia Kentieva's user avatar
224 votes
14 answers
309k views

I have written a module (a file my_mod.py file residing in the folder my_module). Currently, I am working in the file cool_script.py that resides in the folder cur_proj. I have opened the folder in ...
Claus's user avatar
  • 4,609
15 votes
7 answers
27k views

This problem has been driving me nuts. I am trying to import a class from a file in the same directory. PyCharm is giving me the "Unresolved reference" error. MyClass is defined in file.py. I have ...
Iulian's user avatar
  • 1,546

15 30 50 per page