Make virtualenv inherit specific packages from your global site-packagesĬreate the environment with virtualenv -system-site-packages. So, I'm thinking - I already have numpy and scipy, why can't I reuse those? So I found: Ok, so I do pip3 install numpy and it takes an hour to build from source, and then install process fails again for scipy - I can tell already this is going to be another hour. but upon building the package with python3 setup.py install, I get ModuleNotFoundError: No module named 'numpy'. Successfully uninstalled setuptools-65.5.0 Installing collected packages: setuptoolsįound existing installation: setuptools 65.5.0 This works, I can install old setuptools: $ pip3 install setuptools=45ĭownloading setuptools-45.0.0-py2.p圓-none-any.whl (583 kB) Since that is likely to mess up the rest of my system, I'm thinking I should try this in python3 -m venv mingw64_p圓.10_venv. It being old, it uses deprecated features for setuptools, so now I have to install old setuptools. I use the Python 3.10.10 in MINGW64, and I want to use a Python3 package that has not been updated in years, which I've installed successfully back in Python 3.7 on this platform - but of course, that is useless on Python 3.10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |