Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing vircpt #2

Open
asitemade4u opened this issue Nov 24, 2024 · 3 comments
Open

Error while installing vircpt #2

asitemade4u opened this issue Nov 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@asitemade4u
Copy link

asitemade4u commented Nov 24, 2024

Version used
Latest, as I git clone https://github.com/abbbi/vircpt.git

Describe the bug

  • I did, as root:
cd vircpt/
python3 setup.py install
  • Then when I execute vircptfrom the Terminal, I get an error and the script won't execute (see error message below).

Expected behavior
After installing vircpt according to the rules, the script should work.

Logfiles:

Traceback (most recent call last):
  File "/usr/local/bin/vircpt", line 4, in <module>
    __import__('pkg_resources').run_script('vircpt==0.1', 'vircpt')
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 651, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1436, in run_script
    raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/vircpt' not found in metadata at '/usr/local/lib/python3.9/site-packages/vircpt-0.1.dist-info'

Workaround:
None.

@asitemade4u asitemade4u added the bug Something isn't working label Nov 24, 2024
@abbbi
Copy link
Owner

abbbi commented Nov 24, 2024

Phython3 links to which version?

@asitemade4u
Copy link
Author

python3 --version
Python 3.9.19

@abbbi
Copy link
Owner

abbbi commented Nov 24, 2024

Install path? Error message refers to /usr/local, I don’t think alma installs Python wheels there. Looks like a python env issue, consider using a venv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants