numpy problem

2 views
Skip to first unread message

Ajay Kumar

unread,
Apr 20, 2018, 1:50:08 AM4/20/18
to Anaconda - Public
I tried to import numpy
but it gives me the exception
ImportError: cannot import name 'dragon4_positional'


also unable  to update anaconda

Matt Curcio

unread,
Apr 20, 2018, 10:53:42 AM4/20/18
to anac...@continuum.io
Hi Ajay,
Hmmm, that is an interesting set of questions.

Could you provide some information on the operating system you are working with... What version Anaconda you have installed... What type of computer?...  What you have tried/done before and after getting to you stopping point, etc... Also could you be more specific about the actual error messages that you are getting?  Is it possible for you copy/paste those messages...

Providing more information gives context and could have valuable omitted info.

--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.



--
Thank You,

Matt Curcio
M: 401-316-5358
E: matt.cu...@gmail.com

nsk...@gmail.com

unread,
May 2, 2018, 9:15:56 AM5/2/18
to Anaconda - Public
Hi, same issue here, using Windows 10, Anaconda updated, python 3.6:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-d2754fe31925> in <module>()
      1 import threading
      2 import multiprocessing
----> 3 import numpy as np
      4 import matplotlib.pyplot as plt
      5 import tensorflow as tf

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\__init__.py in <module>()
    140         return loader(*packages, **options)
    141 
--> 142     from . import add_newdocs
    143     __all__ = ['add_newdocs',
    144                'ModuleDeprecationWarning',

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\add_newdocs.py in <module>()
     11 from __future__ import division, absolute_import, print_function
     12 
---> 13 from numpy.lib import add_newdoc
     14 
     15 ###############################################################################

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\lib\__init__.py in <module>()
      6 from numpy.version import version as __version__
      7 
----> 8 from .type_check import *
      9 from .index_tricks import *
     10 from .function_base import *

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\lib\type_check.py in <module>()
      9            'common_type']
     10 
---> 11 import numpy.core.numeric as _nx
     12 from numpy.core.numeric import asarray, asanyarray, array, isnan, zeros
     13 from .ufunclike import isneginf, isposinf

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\core\__init__.py in <module>()
     36 from . import numerictypes as nt
     37 multiarray.set_typeDict(nt.sctypeDict)
---> 38 from . import numeric
     39 from .numeric import *
     40 from . import fromnumeric

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\core\numeric.py in <module>()
   1818 
   1819 # Use numarray's printing function
-> 1820 from .arrayprint import array2string, get_printoptions, set_printoptions
   1821 
   1822 

~\Anaconda3\envs\pyvers36\lib\site-packages\numpy\core\arrayprint.py in <module>()
     42 from .umath import absolute, not_equal, isnan, isinf, isfinite, isnat
     43 from . import multiarray
---> 44 from .multiarray import (array, dragon4_positional, dragon4_scientific,
     45                          datetime_as_string, datetime_data, dtype, ndarray,
     46                          set_legacy_print_mode)

ImportError: cannot import name 'dragon4_positional'

El viernes, 20 de abril de 2018, 16:53:42 (UTC+2), Matt Curcio escribió:
Hi Ajay,
Hmmm, that is an interesting set of questions.

Could you provide some information on the operating system you are working with... What version Anaconda you have installed... What type of computer?...  What you have tried/done before and after getting to you stopping point, etc... Also could you be more specific about the actual error messages that you are getting?  Is it possible for you copy/paste those messages...

Providing more information gives context and could have valuable omitted info.
On Fri, Apr 20, 2018 at 1:50 AM, Ajay Kumar <ajaykuma...@gmail.com> wrote:
I tried to import numpy
but it gives me the exception
ImportError: cannot import name 'dragon4_positional'


also unable  to update anaconda

--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.

To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

Will Warner

unread,
May 3, 2018, 7:37:51 PM5/3/18
to Anaconda - Public
What output do you see if you open an Anaconda Prompt and run "conda list"?

If you open an Anaconda Prompt and run "python" and then "import numpy", do you see the same error?
Reply all
Reply to author
Forward
0 new messages