Error using pip install anvil-uplink ( in Spyder )

Install anvil-uplink module in Spyder

Following the website, I run: pip install anvil-uplink, which then provides the error that egg_info did not run successfully. exit code: 1

—Readout from the Spyder console—

Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
Type “copyright”, “credits” or “license” for more information.

IPython 7.34.0 – An enhanced Interactive Python.

pip install anvil-uplink
Defaulting to user installation because normal site-packages is not writeable
Collecting anvil-uplink
Using cached anvil_uplink-0.4.1-py2.py3-none-any.whl (87 kB)
Requirement already satisfied: six in c:\program files\spyder\pkgs (from anvil-uplink) (1.16.0)
Collecting future
Using cached future-0.18.3.tar.gz (840 kB)
Preparing metadata ( started
Preparing metadata ( finished with status ‘error’
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error

python egg_info did not run successfully.
exit code: 1

[6 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\CharestA\AppData\Local\Temp\pip-install-941c__yz\future_a1209bd64edb4584abd51e17c57f62f6\”, line 86, in
import src.future
ModuleNotFoundError: No module named ‘src’
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

It looks like you problem is the environment is having trouble installing the future module. You might try upgrading pip first, you can google how to do this for your spyder installation and ipython.

So to reiterate, the error you are getting is not really anvil-uplink, but the future module that it uses. (One of the most common modules used, so its not really anvil specific, and you should be able to find help installing it on the internet somewhere)

1 Like

After updating my Python software, I was able to install the anvil-uplink module.
Thank you for your response!


You are welcome, and also welcome to anvil! :wave: