Can't install numpy after Fusion update (August 2019)

Can't install numpy after Fusion update (August 2019)

lorraine5RWGT
Enthusiast Enthusiast
706 Views
0 Replies
Message 1 of 1

Can't install numpy after Fusion update (August 2019)

lorraine5RWGT
Enthusiast
Enthusiast

Pip installs of numpy and scipy don't work any more after the Aug 13, 2019 update.  It doesn't actually install even though it says 'Successfully installed numpy-1.17.0'.  Could you look into this please?

 

On a side note, is there any way to integrate Fusion 360's Python/Spyder with Anaconda's?  That would be incredibly useful.

 

>>> import pip
 >>> import numpy
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'numpy'
>>> pip.main(['install', 'numpy'])
Collecting numpy
  Using cached https://files.pythonhosted.org/packages/e0/46/49aea53340775e5294dacc8072062b5a1c21dd27746cb336afa395abb70c/numpy-1.17.0-cp35-cp35m-win_amd64.whl
Installing collected packages: numpy
Successfully installed numpy-1.17.0
0
>>> import numpy
You are using pip version 9.0.1, however version 19.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\logging\__init__.py", line 983, in emit
    stream.write(msg)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\_vendor\colorama\ansitowin32.py", line 144, in write
    self.wrapped.flush()
AttributeError: 'CatchOutErr' object has no attribute 'flush'
Call stack:
  File "<string>", line 1, in <module>
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\basecommand.py", line 252, in main
    pip_version_check(session)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\outdated.py", line 155, in pip_version_check
    pip_version, pypi_version, pip_cmd
Message: "You are using pip version %s, however version %s is available.\nYou should consider upgrading via the '%s install --upgrade pip' command."
Arguments: (<Version('9.0.1')>, '19.2.2', 'python -m pip')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'numpy'
>>> pip.main(['install', 'scipy'])
Collecting scipy
  Downloading https://files.pythonhosted.org/packages/06/a5/d4c06f89886220668a66d9b0484d799d00bee102ccbf6d66686cde3de6a6/scipy-1.3.1-cp35-cp35m-win_amd64.whl (30.5MB)
2
>>> import scipy
Exception:
Traceback (most recent call last):
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\commands\install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 821, in unpack_url
    hashes=hashes
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 659, in unpack_http_url
    hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 585, in _download_url
    progress_indicator = DownloadProgressBar(max=total_length).iter
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 158, in __init__
    super(WindowsMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 82, in __init__
    super(InterruptibleMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 118, in __init__
    super(DownloadProgressMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\_vendor\progress\helpers.py", line 58, in __init__
    if self.file.isatty() and self.hide_cursor:
AttributeError: 'CatchOutput' object has no attribute 'isatty'--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\commands\install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 821, in unpack_url
    hashes=hashes
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 659, in unpack_http_url
    hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\download.py", line 585, in _download_url
    progress_indicator = DownloadProgressBar(max=total_length).iter
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 158, in __init__
    super(WindowsMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 82, in __init__
    super(InterruptibleMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\ui.py", line 118, in __init__
    super(DownloadProgressMixin, self).__init__(*args, **kwargs)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\_vendor\progress\helpers.py", line 58, in __init__
    if self.file.isatty() and self.hide_cursor:
AttributeError: 'CatchOutput' object has no attribute 'isatty'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\logging\__init__.py", line 983, in emit
    stream.write(msg)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\_vendor\colorama\ansitowin32.py", line 144, in write
    self.wrapped.flush()
AttributeError: 'CatchOutErr' object has no attribute 'flush'
Call stack:
  File "<string>", line 1, in <module>
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\basecommand.py", line 241, in main
    logger.critical('Exception:', exc_info=True)
Message: 'Exception:'
Arguments: ()
You are using pip version 9.0.1, however version 19.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\logging\__init__.py", line 983, in emit
    stream.write(msg)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\_vendor\colorama\ansitowin32.py", line 144, in write
    self.wrapped.flush()
AttributeError: 'CatchOutErr' object has no attribute 'flush'
Call stack:
  File "<string>", line 1, in <module>
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\__init__.py", line 233, in main
    return command.main(cmd_args)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\basecommand.py", line 252, in main
    pip_version_check(session)
  File "C:\Users\lorraine\AppData\Local\Autodesk\webdeploy\production\29d917aadab20ae2ca6a30ec8ee692af3b999faa\Python\lib\site-packages\pip\utils\outdated.py", line 155, in pip_version_check
    pip_version, pypi_version, pip_cmd
Message: "You are using pip version %s, however version %s is available.\nYou should consider upgrading via the '%s install --upgrade pip' command."
Arguments: (<Version('9.0.1')>, '19.2.2', 'python -m pip')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'scipy'
>>> 
>>> pip.main(['list'])
pip (9.0.1)
setuptools (28.8.0)
0

 

 

0 Likes
707 Views
0 Replies
Replies (0)