-
Notifications
You must be signed in to change notification settings - Fork 10
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
pip issue in ghdl/vunit:gcc-master (and others?) #31
Comments
So, the issue seems to be the following warning:
I now added
That is, Unfortunately, I really don't understand the details of pip packages and the several mechanisms to install Python packages. Any guess?
No, OTOH, image
|
Some more info: when installed through
But pip seems not to find those. Moreover, Conversely, in
|
Now,
@LukasVik, please, let me know whether it works for you. If so, I think we can close this issue 😃 |
Okay great, that looks promising. I will try it out tomorrow at work (I
don’t have a proper computer at home at the moment unfortunately). Thank
you for the effort!
mån 31 aug. 2020 kl. 17:26 skrev eine <notifications@github.com>:
…
Now, pip3 install . is used instead of python3 setup.py install. That
should fix all the images:
# docker run --rm -it ghdl/vunit:mcode pip3 list
Package Version
---------- -------
colorama 0.4.3
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.0
wheel 0.35.1
# docker run --rm -it ghdl/vunit:mcode-master pip3 list
Package Version
---------- --------
colorama 0.4.3
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.1rc0
wheel 0.35.1
# docker run --rm -it ghdl/vunit:llvm pip3 list
Package Version
---------- -------
colorama 0.4.3
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.0
wheel 0.35.1
# docker run --rm -it ghdl/vunit:llvm-master pip3 list
Package Version
---------- --------
colorama 0.4.3
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.1rc0
wheel 0.35.1
# docker run --rm -it ghdl/vunit:gcc pip3 list
Package Version
---------- -------
colorama 0.4.3
gcovr 4.2
Jinja2 2.11.2
lxml 4.5.2
MarkupSafe 1.1.1
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.0
wheel 0.35.1
# docker run --rm -it ghdl/vunit:gcc-master pip3 list
Package Version
---------- --------
colorama 0.4.3
gcovr 4.2
Jinja2 2.11.2
lxml 4.5.2
MarkupSafe 1.1.1
pip 20.2.2
setuptools 50.0.0
vunit-hdl 4.4.1rc0
wheel 0.35.1
@LukasVik <https://github.com/LukasVik>, please, let me know whether it
works for you. If so, I think we can close this issue 😃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOEO64AX4ZJDUGIETLTGQDSDO6I5ANCNFSM4QQQMA5Q>
.
|
Good morning, Indeed it does work well now. Thank you so much @eine! Looking at the issue I still find it a little funny. I'm not an expert at pip, but there must be some mechanism that is broken in there. Where it supposedly installs a package, the files are there in the file tree, but it has not "registered" that it is installed. If pip truly needs I googled the issue yesterday and I could not find anyone else with the same issue. And it also does not appear to happen in all python environments. On my ubuntu box I could install Just to note, I don't think it has anything to do with the Anyway, the fix/workaround works and that is all that matters I guess. I feel no need to dig deeper into the issue. Something seems a little sketchy but it works now! Closing this issue. Thanks again @eine! |
@LukasVik, just for the sake of knowledge, let me drop my thoughts too:
However, I don't understand what's the role of pip there. Also, I am not familiar with
Is it possible that both your Ubuntu box and |
There seems to be an issue with python packages in
ghdl/vunit:gcc-master
, and possibly/probably others. The vunit package does not appear to be installed in the python environment:This issue appeared only recently. CI pipelines started failing in the tsfpga project after about 06:00 GMT+2 this morning.
To me it looks like some fatal python/pip problem is present:
So the vunit_hdl package does not appear to be installed according to pip. And even after a manual install it is not listed, and can not be imported.
I tried the same thing in the
python:3-slim-buster
(upon whichghdl/vunit:gcc-master
is based? I had a hard time following the scripts) and the problem was not present:The text was updated successfully, but these errors were encountered: