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ó:
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
--
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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/54912eb6-8eed-4af6-ba4f-6d771d68949dn%40googlegroups.com <https://groups.google.com/d/msgid/spyderlib/54912eb6-8eed-4af6-ba4f-6d771d68949dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/e304caea-bd39-e132-79db-724116dba58d%40gmail.com.

Reply via email to