Hello,
how is it possible to import the numpy library into TexGen?
I downloaded a numpy version suitable for Python 2.7 from the numpy homepage (version 1.16.6, non amd64) as a zip file
and extracted it. Then tried to import it with these lines using the whole path where numpy is saved:
sys.path.append('C:\\Program Files\\...')
import numpy
But I got the error:
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
Kind regards
Importing numpy library to TexGen
Moderators: Martin, Developers
Re: Importing numpy library to TexGen
Hi,
This isn't something that I have done myself but it sounds like it is probably a path issue. If you do a search on the forum there are a couple of threads about using numyp with TexGen including this one: http://texgen.sourceforge.net/phpBB3/vi ... umpy#p7304
Hopefully one of those will answer your question.
Best wishes,
Louise
This isn't something that I have done myself but it sounds like it is probably a path issue. If you do a search on the forum there are a couple of threads about using numyp with TexGen including this one: http://texgen.sourceforge.net/phpBB3/vi ... umpy#p7304
Hopefully one of those will answer your question.
Best wishes,
Louise