This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pipenv failing to install antlib 1.1b0

I'm having issues installing antlib 1.1b0 on my windows 10 machine when using pipenv on Python 3.7.5 (32bit)

I can get antlib to install when not using pipenv but for some reason pipenv and antlib won't play nice, as you can see below

>pipenv uninstall antlib
Uninstalling antlib...
Found existing installation: antlib 1.0b0
Uninstalling antlib-1.0b0:
  Successfully uninstalled antlib-1.0b0

Removing antlib from Pipfile...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
           Building requirements...
[==  ] Locking...
Success!
Updated Pipfile.lock (8c67ec)!

>pipenv install antlib --pre
Installing antlib...
Adding antlib to Pipfile's [packages]...
Installation Succeeded
Pipfile.lock (8c67ec) out of date, updating to (2c6d9f)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
           Building requirements...
Resolving dependencies...
Success!
Updated Pipfile.lock (2c6d9f)!
Installing dependencies from Pipfile.lock (2c6d9f)...
  ================================ 1/1 - 00:00:00
An error occurred while installing antlib==1.1b0.post0 --hash=sha256:aebfcbdff0770653d3959061f176299eec3b8d7f77f151d3c46d7d0ea06fb64b! Will try again.
Installing initially failed dependencies...
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\cli\command.py", line 253, in install
[InstallError]:       site_packages=state.site_packages
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\core.py", line 2202, in do_install
[InstallError]:       skip_lock=skip_lock,
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\core.py", line 1312, in do_init
[InstallError]:       pypi_mirror=pypi_mirror,
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\core.py", line 900, in do_install_dependencies
[InstallError]:       retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\core.py", line 796, in batch_install
[InstallError]:       _cleanup_procs(procs, failed_deps_queue, retry=retry)
[InstallError]:   File "c:\users\jenkins\appdata\local\programs\python\python37-32\lib\site-packages\pipenv\core.py", line 703, in _cleanup_procs
[InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: Collecting antlib==1.1b0.post0
[pipenv.exceptions.InstallError]:   Using cached antlib-1.1b0.post0-py2.py3-none-any.whl (283 kB)
[pipenv.exceptions.InstallError]: WARNING: Discarding https://files.pythonhosted.org/packages/b1/99/641f7f134b136fe33933012decf6694500f92adc118bb4bf83be04b36b48/antlib-1.1b0.post0-py2.py3-none-any.whl#sha256=aebfcbdff0770653d3959061f176299eec3b8d7f77f151d3c46d7d0ea06fb64b (from https://pypi.org/simple/antlib/). Requested antlib==1.1b0.post0 from https://files.pythonhosted.org/packages/b1/99/641f7f134b136fe33933012decf6694500f92adc118bb4bf83be04b36b48/antlib-1.1b0.post0-py2.py3-none-any.whl#sha256=aebfcbdff0770653d3959061f176299eec3b8d7f77f151d3c46d7d0ea06fb64b (from -r c:\users\jenkins\appdata\local\temp\pipenv-wyakop6c-requirements\pipenv-33n1sklv-requirement.txt (line 1)) has inconsistent version: filename has '1.1b0.post0', but metadata has '1.1b0'
[pipenv.exceptions.InstallError]: ERROR: Could not find a version that satisfies the requirement antlib==1.1b0.post0
[pipenv.exceptions.InstallError]: ERROR: No matching distribution found for antlib==1.1b0.post0
ERROR: Couldn't install package: antlib
 Package installation failed...
     ================================ 0/1 - 00:00:01

Does anyone have any ideas?

Parents Reply Children
No Data
Related