pip

Python Module not Found from within Github Download

Python Module not Found from within Github Download Question: I want to install and use a library called Synthetic Interventions. I install it like: pip3 install -e git+https://github.com/deshen24/Synthetic-Interventions#egg=SI –user I then go to my source folder (in my case located at C:/Users/jgrea/src/), where you should now see a folder called si. I rename this directory …

Total answers: 2

pip fails to install pupil-apriltags

pip fails to install pupil-apriltags Question: I keep getting the same message, it says I need to Install Visual Studio but I already have it, (maybe pip doesn’t recognize it? or its a bad installation?) I am running on windows have python 3.10, and Visual Studio 2022 community with the python extension. here is the …

Total answers: 1

How to overcome Error when pip installing okta?

How to overcome Error when pip installing okta? Question: I’m working with Python 3.8.9 and I need to use the Okta package. I try to install it as their documentation suggests: pip install okta, but I get this error: … Failed to build aiohttp yarl multidict frozenlist ERROR: Could not build wheels for aiohttp, yarl, …

Total answers: 1

pip ignores pyproject.toml

pip ignores pyproject.toml Question: [build-system] requires = ["wheel", "setuptools>=18.0", "cython>=0.29.0", "numpy>=1.20"] I package via python setup.py sdist bdist_wheel, then twine upload –repository testpypi dist/*, and pip install -i https://test.pypi.org/simple/ mypkg==0.1.0 into a fresh virtual Anaconda environment, which starts installing numpy-1.9.3 that’s clearly below 1.20, and yields File "c:python38libsite-packagessetuptoolsmsvc.py", line 328, in msvc14_gen_lib_options if LegacyVersion(np.__version__) < …

Total answers: 1

python and pip install (pygame)

python and pip install (pygame) Question: I am trying to install python from python.org and I also downloaded pip. To check that it downloaded properly, I booted up terminal to see if it could find the command. I did python3 -V and pip3 -V (which came up with the correct versions) which loaded fine but …

Total answers: 1

How to only install (or import) a specific version of discord.py?

How to only install (or import) a specific version of discord.py? Question: I’m trying to install the discord-1.7.3 package. pip installs discord-1.7.3 and discord.py-2.0.1. My program is incompatible with version 2.x.x so I need only version 1.7.3 to install. The answers to this question suggest telling pip what version to install, but this doesn’t work: …

Total answers: 1

How to reference a requirements.txt from a pyproject.toml?

How to reference a requirements.txt from a pyproject.toml? Question: I’m trying to migrate some legacy setup.py-based builds towards modern pyproject.toml-based builds. At the same time I want to keep well established workflows based on pip-compile, i.e., a requirements.in that gets compiled to a requirements.txt (for end-user / non-library projects of course). This has important benefits …

Total answers: 1

Issue installing python bcrypt in Cygwin

Issue installing python bcrypt in Cygwin Question: I’m trying to install paramiko in Cygwin and one of the build dependencies is bcrypt. I have rustc installed and I believe all of the supporting build libraries. Pip is also updated to the latest. $ pip –version pip 22.2.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) I use the following …

Total answers: 1

pip install with extra index url to requirements.txt

pip install with extra index url to requirements.txt Question: I have following install comand for a package: pip3 install torch torchvision torchaudio –extra-index-url https://download.pytorch.org/whl/cu116 and would need to add this to my requirements.txt file. I have done it by adding this to the end of the file: -i https://download.pytorch.org/whl/cu116 torch torchvision torchaudio after all the …

Total answers: 1

Use config file for pip within build

Use config file for pip within build Question: I am building a package from source files. If I run with the argument –no-isolation It successfully builds. However, if I try to build in an isolated environment it fails trying to install packages [SSLCertVerificationError]. I have solved in my normal environment by adding the following to …

Total answers: 1