PyFlow icon indicating copy to clipboard operation
PyFlow copied to clipboard

PyFlow fails to launch

Open AlexRMU opened this issue 3 years ago • 7 comments

  1. Replace all clock() with time (). This is outdated and doesn't work for me any other way (ImportError: cannot import name 'clock' from 'time' (unknown location)).
  2. After a very compressed window with the interface. You can't do anything, and the console is constantly spamming
Traceback (most recent call last):
  File "C:\Users\Александр\AppData\Local\Programs\Python\Python39\lib\site-packages\PyFlow\App.py", line 425, in mainLoop
    deltaTime = time() - self._lastClock
TypeError: 'module' object is not callable

AlexRMU avatar Nov 13 '20 16:11 AlexRMU

@AlexRMU check #79. Fixed it already

IlgarLunin avatar Nov 14 '20 11:11 IlgarLunin

I have the latest version of the app and Python :/

AlexRMU avatar Nov 14 '20 11:11 AlexRMU

And I have this error. Where is it fixed?

AlexRMU avatar Nov 15 '20 15:11 AlexRMU

And I have this error. Where is it fixed?

Dear sir, do you solve this issue?@AlexRMU

wangyexiang avatar Jun 04 '21 06:06 wangyexiang

Bit late but since the error still is happening : from what I gathered the time.clock() error is still happening when installing the "latest release" from the release branch. I guess the fix has been done only on the "latest development" from the master branch. Install pyflow from the latest dev version (from pyflow doc) to fix the problem (but others exist for me...)

pip install git+https://github.com/wonderworks-software/PyFlow.git@master

MatthieuMayer avatar Jul 25 '22 10:07 MatthieuMayer

Latest development version

Traceback (most recent call last):
  File "C:\Python310\Scripts\pyflow-script.py", line 33, in <module>
    sys.exit(load_entry_point('PyFlow==2.0.1', 'console_scripts', 'pyflow')())
  File "C:\Python310\Scripts\pyflow-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Python310\lib\importlib\metadata\__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "C:\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Python310\lib\site-packages\PyFlow\Scripts\__init__.py", line 23, in <module>
    from PyFlow.App import PyFlow
  File "C:\Python310\lib\site-packages\PyFlow\App.py", line 23, in <module>
    from time import clock
ImportError: cannot import name 'clock' from 'time' (unknown location)

AlexRMU avatar Jul 30 '22 09:07 AlexRMU

Latest development version

Traceback (most recent call last):
  File "C:\Python310\Scripts\pyflow-script.py", line 33, in <module>
    sys.exit(load_entry_point('PyFlow==2.0.1', 'console_scripts', 'pyflow')())
  File "C:\Python310\Scripts\pyflow-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Python310\lib\importlib\metadata\__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "C:\Python310\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Python310\lib\site-packages\PyFlow\Scripts\__init__.py", line 23, in <module>
    from PyFlow.App import PyFlow
  File "C:\Python310\lib\site-packages\PyFlow\App.py", line 23, in <module>
    from time import clock
ImportError: cannot import name 'clock' from 'time' (unknown location)

I still have this error in 2022 in both version,

pip install passlib==1.7.3

i try to install passlib 1.7.3 but nothing happen!

Playblood avatar Sep 26 '22 08:09 Playblood

This should be fixed in master branch with python 3 and pyside6

pedroCabrera avatar Feb 20 '24 09:02 pedroCabrera