Category : py2exe

I am trying to create an exe from below python script in file fact.py import pandas as pd df=pd.read_csv(‘C:py2exemyfile.csv’) print(df.dtypes) and my setup.py from distutils.core import setup import py2exe import pandas setup(console=[‘fact.py’]) and in anaconda prompt, ran below code. c:py2exe>python setup.py py2exe and I am getting below error. (base) c:py2exe>python setup.py py2exe running py2exe Traceback ..

Read more

setup.py for py2exe: setup(console=[‘TagProject.py’], options={‘py2exe’:{‘dist_dir’:’AriesTools’} } ) When I called the exe, I got the error: Traceback (most recent call last): File "TagProject.py", line 7, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible ..

Read more

Even my test case is exhibiting this error. Contents of test.py are: print("Hello World") setup2.py is: from distutils.core import setup import py2exe setup(console=[‘test.py’]) When I run cmd as administrator and attempt to run ‘python setup2.py py2exe’ I get the following: >python setup2.py py2exe running py2exe 2 missing Modules —————— ? _posixshmem imported from multiprocessing.resource_tracker, multiprocessing.shared_memory ..

Read more