CERN / TIGRE

TIGRE: Tomographic Iterative GPU-based Reconstruction Toolbox
BSD 3-Clause "New" or "Revised" License
581 stars 190 forks source link

SSL Problems during installation #564

Closed ManolisNikolakakis closed 4 months ago

ManolisNikolakakis commented 4 months ago

Expected Behavior

I expected installation of tigre from pip, but my machine successfully installed other packages. installation has failed in two different machines, a MacOS and an Ubuntu

Actual Behavior

File "/Users/enikolak/anaconda3/lib/python3.9/urllib/request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: SSL is required [end of output]

Code to reproduce the problem (If applicable)

pip install tigre

Specifications

AnderBiguri commented 4 months ago

Unfortunately this has nothing to do with TIGRE and instead with something about your installation. Likely the machine does not have internet somehow and this you can't install the required packages, e.g. numpy. I suspect conda install numpy or pop install numpy causes the same error.

ManolisNikolakakis commented 4 months ago

Hello and thank you for your response.

I mentioned in the original post that I've been able to install other packages such as numpy and other packages and I did this test in two different machines. It's only TIGRE that was throwing this error.

However I agree that this doesn't seem like a TIGRE issue, I was hoping maybe someone else has also experienced this issue. Might be a PyPI mirror issue.

I'll close this ticket, thanks for your advice.

AnderBiguri commented 4 months ago

@ManolisNikolakakis ah I know what it could be. I have not uploaded Tigre to pip so pip install Tigre won't work. Have a look at the installation instructions for more details.

Try

pip install .

ManolisNikolakakis commented 4 months ago

Building from source seems to work, thank you :)