VPython in Spyder

Visto 27 veces
Saltar al primer mensaje no leído

Harlan Gilbert

no leída,
17 may 2023, 16:49:0217/5/23
a spyder
Is anyone using VPython successfully in Spyder?

I cannot import VPython into Spyder.
VPython is already installed in my executable library.

Running a program with
import VPython
gives me the error ModuleNotFoundError: No module named 'VPython'

In the Console,
%pip install VPython gives me the message below, with errors.

Any suggestions?

________________________________________Error message follows_______________
  Using cached vpython-7.6.4.tar.gz (4.5 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  error: subprocess-exited-with-error
 
  pip subprocess to install build dependencies did not run successfully.
  exit code: 1
 
  [17 lines of output]
  Collecting setuptools
    Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
  Collecting wheel
    Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
  Collecting setuptools_scm
    Using cached setuptools_scm-7.1.0-py3-none-any.whl (43 kB)
  Collecting cython
    Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB)
  Collecting packaging>=20.0 (from setuptools_scm)
    Using cached packaging-23.1-py3-none-any.whl (48 kB)
  Collecting typing-extensions (from setuptools_scm)
    Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
  Installing collected packages: wheel, typing-extensions, setuptools, packaging, cython, setuptools_scm
  ERROR: Cannot set --home and --prefix together

Carlos Córdoba

no leída,
18 may 2023, 8:27:4618/5/23
a spyd...@googlegroups.com
Hi,

Please read this entry in our docs:

https://docs.spyder-ide.org/5/faq.html#using-packages-installer

if you're using our Windows or Mac installer; or this one:

http://docs.spyder-ide.org/current/faq.html#using-existing-environment

if you're using another installation media to understand how to solve your problem.


Cheers,
Carlos

El 17/05/23 a las 20:01, Harlan Gilbert escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/54912eb6-8eed-4af6-ba4f-6d771d68949dn%40googlegroups.com.

Erdoğan Peker

no leída,
18 may 2023, 9:38:1918/5/23
a spyd...@googlegroups.com
Thank you for your comment it's so helpfull

Carlos Córdoba <ccord...@gmail.com>, 18 May 2023 Per, 15:27 tarihinde şunu yazdı:

Harlan Gilbert

no leída,
21 may 2023, 22:26:1321/5/23
a spyder
OK, I solved the problem.  In case anyone else has this issue:

In the Spyder Console, I entered:
%pip install ez_setup
%pip install setuptools
%pip install vpython

Voila, it works!

(Just the vpython installation failed because some dependencies were missing.)

Evans Kamala

no leída,
22 may 2023, 11:19:0622/5/23
a spyd...@googlegroups.com
hello, for assignment help, whatsapp me +254745920235

Virus-free.www.avast.com

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos