Closed Benjamin-Lee closed 3 years ago
Ah yes, I am unsure of the absolute root cause for this but one thing I do know is that Nimporter libs cannot be installed from source. You have to compile a Wheel first using python setup.py bdist_wheel
and then upload that to PyPi/etc. From what I can see in the terminal session, you are trying to install it from source (meaning compiling Nim source to C, which would then compile to a Python extension). While is is definitely possible, it is only possible for people who have the Nim compiler installed.
Since you are trying from (outside?) the virtual environment, this could be what is causing issues.
Recommended next debugging step: From within the venv, compile a Wheel and then outside (or on another machine): pip install /path/to/wheel.whl
which should have the already-compiled C sources, which should essentially be Pip copying and pasting them into site-packages
, etc.
Let me know if this doesn't work and good luck!
Closing due to inactivity. Let me know if I can be of further help!
I'm in a different directory as my main library in a different virtualenv. It works when I do a
pip install -e
install but not a regular (no-e
flag) install:Any idea why that would be?