Hello
Goal
My goal is to set up a Python application in a virtual environment in FreeBSD, and run it from there.
Setup
I have created the virtual environment, activated it, installed pip within this and ran
The installation went well, and I could list out all installed packages with
Problem
With this, I tried to run the project with
(dash is the first module in use in my application)
My question is then: Why do I get this error?
Extra information
If I have misunderstood anything in the Python/Pip/Venv/FreeBSD combination, I apologize.
Thanks
Goal
My goal is to set up a Python application in a virtual environment in FreeBSD, and run it from there.
Setup
I have created the virtual environment, activated it, installed pip within this and ran
pip install -r requirements.txt
The installation went well, and I could list out all installed packages with
pip list
Problem
With this, I tried to run the project with
python app.py
, but I get the errorModuleNotFoundError: No module named 'dash'
(dash is the first module in use in my application)
My question is then: Why do I get this error?
Extra information
- I run FreeBSD (64-bit) 13.1 on a Virtual Machine (VirtualBox)
- My host is a MacBook Pro with Ventura 13.0
- I have Python 3.9.15 (installed globally)
- I have pip 22.3.1
- I can verify that dash is installed within the same folder and venv I try to run the application in with
pip show dash
- I tried installing dash through
pkg install dash
as well, after looking at this thread.
The installation went through, but I'm pretty sure it's the wrong dash.
If I have misunderstood anything in the Python/Pip/Venv/FreeBSD combination, I apologize.
Thanks