Skip to content

Installation error on Manjaro Linux (shell script?) #19

@WolframStrauss

Description

@WolframStrauss

Hi,
I am about to install opp_env on manjaro-kde-23.1.3-240113-linux66.iso. The issue in the Important note: error: externally-managed-environment, I tried to solve with the Python venv solution. The installation works fine. In the active venv environment, starting opp_env leads to the following error:

Traceback (most recent call last):
  File "/home/str/projects/omnetpp-inet/bin/opp_env", line 5, in <module>
    from opp_env.opp_env import main
  File "/home/str/projects/omnetpp-inet/lib/python3.11/site-packages/opp_env/opp_env.py", line 14, in <module>
    from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'

There is a ~/.local/bin entry in the PATH environment variable, but no such path. Section Installing opp_env on Linux and macOS in the README is referring to

When you install opp_env using pip, it installs the opp_env Python module, as well as a small script into your system's path (e.g. ~/.local/bin) that allows you to invoke it from the shell.

Which script is it?

Thank you, kind regards. Wolfram

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions