Closed AKHughes1994 closed 2 years ago
Hi! Could you please provide some additional information:
pip
, setuptools
, and wheel
packages up to date?I did attempt to reproduce your problem locally but didn't immediately run into problems - the answers to the above will probably help.
One thing I did notice - it looks like the version of sharedarray
being installed is lower than the minimum requirement for cubical
.
Hi, sorry I should have included this information in my original post,
Let me know if you need anymore information, Andrew
Apologies for the delayed response!
4. pip (21.3.1), setuptools (59.6.0), sharedarray (3.2.1 <- Is this version too low?)
That is the required version of sharedarray
, but if you look at the log you originally posted, it was attempting to build the wheel for 3.1.0. Are you using a basic Python virtual environment or pip
inside a conda environment? If you are inside a conda environment, you may need to check that the correct pip
is in use. You can do this by typing which pip
- it should point to pip
inside the virtual environment. If that is not the case, your paths may be incorrect. You can do echo $PATH
to check.
If I do pip install --no-cache-dir cubical
, I see the following output for sharedarray
:
Building wheel for sharedarray (setup.py) ... done
Created wheel for sharedarray: filename=SharedArray-3.2.1-cp36-cp36m-linux_x86_64.whl size=77257 sha256=8e4642d80931853c047a5097af8c7fe64b1dba8551a70c99ebc2a436f0d0f500
Stored in directory: /tmp/pip-ephem-wheel-cache-cb1vvd85/wheels/40/04/7d/a974a4b947e9f3d7dfb812f41ec8e9e8a8ccd106c8e0314adc
Adding the --no-cache-dir
flag worked, thank you.
I'm not sure what was happening, but I learned all this stuff on the fly so my versions/paths are a mess (I've been meaning to fix that). For some reason it must have been pointing outside the venv.
All good! Just shout if you need any further assistance. I am going to go ahead and close this for now.
Can you paste the entire backtrace with compilation failure info?
On Fri, 06 May 2022, 17:31 AKHughes1994, @.***> wrote:
Hi, sorry I should have included this information in my original post,
- Ubuntu 18.04 (bionic)
- Python 3.6.9
- Yes I'm (attempting to) use a virtual environment
- pip (21.3.1), setuptools (59.6.0), sharedarray (3.2.1 <- Is this version too low)
- I'm attempting to install from PyPi
Let me know if you need anymore information, Andrew
— Reply to this email directly, view it on GitHub https://github.com/ratt-ru/CubiCal/issues/462#issuecomment-1119743959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4RE6SQLYB4PDVGNP4ENJLVIU3NZANCNFSM5VGTSXEA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi,
When I try to install CubiCal the installation fails at the current step.
I'll admit, I'm not the most proficient with computers, and googling the warning/errors has done little to help me. Have you every run into an issue like this? Is it an issue with dependancies?
Thanks for your help, Andrew