Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
82 views

I have a Python monorepo. One of the services in this monorepo is "poller-service". Its general structure is: services/ └── poller-service/ ├── .venv/ | └─ ... ...
CrazySynthax's user avatar
  • 15.2k
0 votes
0 answers
56 views

I am configuring my robot framework on a project level and am trying to enter my project file location as the pythonpath. Next to the field is this text: Entries to be added to the PYTHONPATH (used ...
Jat's user avatar
  • 13
2 votes
2 answers
183 views

I'm working on a Python project with the following structure: / ├── src/ │ ├── __init__.py │ ├── afrr/ │ │ ├── __init__.py │ │ ├── dumper.py │ │ └── cleaner.py │ ├── config.py │ ├──...
PhillyVanilly's user avatar
0 votes
0 answers
161 views

I am working on a Python project, which has to support multiple versions of the same package. For each new version, some of our wrapper classes change, and others remain unchanged from the previous ...
Arnór's user avatar
  • 1
0 votes
0 answers
156 views

I want to use exactly the same vscode workspace folder on both Windows and Linux. As you may know, contrary to Pycharm, the root folder is unfortunately not included in the python path. So for my ...
u2gilles's user avatar
  • 7,433
0 votes
1 answer
201 views

Added later: I stupidly capitalized OS rather than using os, so the import and print now works properly. However, the question remains: how can I add a source directory that is outside the project ...
dnessett's user avatar
1 vote
1 answer
105 views

Here's my project structure - folder_1 - folder_2 - file1.py - file2.py - folder_3 - file3.py Now I use this command to run file1.py python folder_1/folder_2/file1....
zjffdu's user avatar
  • 29.7k
0 votes
1 answer
164 views

I'm working on a project where I debug with GDB and OpenOCD. Sometimes we use VS Code for this purpose and I encountered an issue that the Run & Debug session won't launch when PYTHONHOME/...
Quotenbanane's user avatar
0 votes
1 answer
30 views

Not a question, sharing something that worked for me: Two linux users, both in the same "programmers" linux group. 1st user is pipadmin, and does "pip install ipython" to a local ...
KibbleOrSoft's user avatar
0 votes
1 answer
47 views

Ignorant new Linux/Ubuntu/StackOverflow user here. I have my scripts for users to run in a path like /home/user/Projects/scripts/. If that is the pwd, I can invoke a script like this: ~/Projects/...
Ed K's user avatar
  • 29
0 votes
0 answers
94 views

For my Uni thesis project, I need firstly to setup automatically multiple github repositories within python script. Problems I am facing is that: each repository has its own requirements and some of ...
Anas Rzq's user avatar
  • 103
1 vote
0 answers
65 views

I am using Pabot of Robot Framework. I have created a whole application that in background runs the Robot Framework. This exe understands the path which I mentioned during pyinstaller. So it opens up ...
Mithi029's user avatar
1 vote
0 answers
330 views

I have a PyCharm project, named pycharm_projects. In it, I create a virtualenv Python interpreter, example_virtualenv. Then I click Interpreters -> Show all -> example_virtualenv -> Show ...
Kaia's user avatar
  • 899
0 votes
1 answer
314 views

Given a project structure: * project * src * my_package * __init__.py * code_file.py * tests * __init__.py * my_package * __init__.py * code_file_test.py How ...
Danny Varod's user avatar
  • 18.3k
0 votes
1 answer
1k views

I am using Windows batch as the entrance for users to run a Python script for some simple automation requests. I have referred to the answer. Assuming I have used another batch to copy the embedded ...
hirobank's user avatar
0 votes
0 answers
515 views

I'm facing an issue when trying to call a Python method from a Robot Framework test case. I have the following Python method defined in a file named campaign.py: def print_something_test(self, text): ...
Husny Jiffry's user avatar
0 votes
0 answers
46 views

I'm trying to set up a local development environment for Python. We use BitBucket for source control of Python modules we've developed for our company. On my machine I have this folder/directory set ...
PruitIgoe's user avatar
  • 6,396
0 votes
0 answers
1k views

I have a bug with imports in python I’m having a hard time to solve or even understand why it happens.I didn’t write the codebase so please forgive the fact that absolutely zero python naming ...
codeartha's user avatar
1 vote
1 answer
266 views

I have 2 functions. I want to check if a file exist in a sub directory. def XlCall(): wb = xw.Book.caller() from pathlib import Path entries = Path('./History/data.csv') wb.sheets('TA')...
Tom's user avatar
  • 11
0 votes
1 answer
310 views

I want to uninstall numpy in Python 3.8. I tried to that command "pip3 uninstall numpy",but this didn't work. I modified the PYTHONPATH in my ~/.bashrc file and exported PYTHONPATH, but ...
senayuksel's user avatar
0 votes
1 answer
50 views

I am having problems running my model in openmodelica on ubuntu 20. I tried exporting the path following the documentation and installed libpython3.8-dev. https://build.openmodelica.org/Documentation/...
Luis Enriquez-Contreras's user avatar
0 votes
2 answers
288 views

I tried to set up PYTHONPATH environmental variable in vscode in Mac, and it does not work. VScode version: Version: 1.78.1 (Universal), Mac os: 13.3.1 (a) I followed the instruction: https://code....
Arthur's user avatar
  • 191
0 votes
0 answers
138 views

I have a weird scenario with pytest where we need to exclude the test directory from PYTHONPATH during the test. Context The pytest command for reference python -m pytest main_project_a/folder_a/...
YTKme's user avatar
  • 317
2 votes
2 answers
2k views

So I want to install the opencv-python package. I typed in pip install opencv-python and got this: Collecting opencv-python Downloading opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB) ━...
LWB's user avatar
  • 512
1 vote
1 answer
3k views

I'd like to run some official OpenVINO samples, but I always get the following error: from openvino.inference_engine import IECore ModuleNotFoundError: No module named 'openvino' I created a simple ...
IanHacker's user avatar
  • 581

1
2 3 4 5
16