Packages failing to install

Hi,

I am new to this. I am having a problem installing some packages. getkey and numpy for Python3.

Below is the error i get when trying to install getkey. Can anyone translate this or give some advice?

Thanks

 

Replit: Updating package configuration

--> poetry add 'getkey 0.6.5'

Updating dependencies
Resolving dependencies...

Package operations: 1 install, 0 updates, 0 removals

  • Installing getkey (0.6.5)

  CalledProcessError

  Command '['pip', 'install', '--no-deps', 'ttps://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz#sha256=68c7c702c3b34deacf427f6c0f1fd66c5c2aa12d7801aa32442fc1a71c8ce059']' returned non-zero exit status 3.

  at /nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/subprocess.py:526 in run
       522│             # We don't call process.wait() as .__exit__ does that for us.
       523│             raise
       524│         retcode = process.poll()
       525│         if check and retcode:
    →  526│             raise CalledProcessError(retcode, process.args,
       527│                                      output=stdout, stderr=stderr)
       528│     return CompletedProcess(process.args, retcode, stdout, stderr)
       529│ 
       530│ 

The following error occurred when trying to handle this error:


  EnvCommandError

  Command ['pip', 'install', '--no-deps', 'https://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz#sha256=68c7c702c3b34deacf427f6c0f1fd66c5c2aa12d7801aa32442fc1a71c8ce059'] errored with the following return code 3
  
  Output:
  An error occurred during configuration: option use-feature: invalid choice: 'content-addressable-pool' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache')
  

  at /nix/store/6lfk2kyiijr9854nvfmxc28jz49vacrs-poetry-in-venv/env/lib/python3.10/site-packages/poetry/utils/env.py:1523 in _run
      1519│                 output = ""
      1520│             else:
      1521│                 output = subprocess.check_output(cmd, stderr=stderr, env=env, **kwargs)
      1522│         except CalledProcessError as e:
    → 1523│             raise EnvCommandError(e, input=input_)
      1524│ 
      1525│         return decode(output)
      1526│ 
      1527│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

The following error occurred when trying to handle this error:


  PoetryException

  Failed to install https://files.pythonhosted.org/packages/74/f2/3312ea94369f410967667eeca61d261cdf3037df6ea827078ac7c5321150/getkey-0.6.5.tar.gz#sha256=68c7c702c3b34deacf427f6c0f1fd66c5c2aa12d7801aa32442fc1a71c8ce059

  at /nix/store/6lfk2kyiijr9854nvfmxc28jz49vacrs-poetry-in-venv/env/lib/python3.10/site-packages/poetry/utils/pip.py:27 in pip_install_from_url
       23│     
       24│     try:
       25│         return environment.run_pip(*args)
       26│     except EnvCommandError as e:
    →  27│         raise PoetryException(f"Failed to install {url}") from e
       28│ 
       29│ def pip_install(
       30│     path: Path,
       31│     environment: Env,

exit status 1


Replit: Package operation failed.

Michael,

I’ve been able to reproduce the issue that you are having and have made an engineering ticket for you. Once I hear back I will give you an update on how to proceed with your getkey installation.

2 Likes

Hello @michaelmckeogh , I have a suspicion the version of pip used is somehow not the one the Repl tried to config for you. Could you share a link to this repl so I can diagnose it?

1 Like

I’d point to Bash: /home/runner/BingusTools/venv/bin/pip: No such file or directory - #4 by UMARismyname, but they’ll have "upgrade"d pip to try and work around a bug Can't import getkey - #3 by UMARismyname

2 Likes

We just deployed a fix today to add pip to PYTHONPATH. With this the installation of the getkey package should work now.

2 Likes