python-standalone

Value error '/anaconda3/lib/libpython3.7.dylib' does not exist?

偶尔善良 提交于 2021-01-28 08:57:45
问题 so I've created a virtual environment in my iterm2 window. this is the ques I asked earlier which has not been solved yet and my app is not running is alias modeso i tried to do the whole process again but it was showing error with plistlib so that was fixed by this answer I tried this whole process again which means I did this all this before but my app was not working so i deleted my py2app and some venv's got deleted to I downloaded miniconda3 again and then it was working until it comes

Python GUI2Exe Application Standalone Build (Using Py2Exe)

守給你的承諾、 提交于 2020-01-17 06:33:20
问题 I am trying to build a Python Script into a stand alone application. I am using GUI2Exe. My script uses selenium package. I have it installed. Project compiles fine and runs on python command line directly but fails to build a stand alone because it is referring to folder: ERROR: test_file_data_extract (__main__.FileDataExtract) ---------------------------------------------------------------------- Traceback (most recent call last): File "File_data_extract.py", line 18, in setUp File

Create standalone environment for Python [duplicate]

家住魔仙堡 提交于 2019-12-24 07:46:04
问题 This question already has answers here : Create a single executable from a Python project (2 answers) Closed 5 months ago . I'm developing a tool based on Python, and I need to distribute this tool for users without technical skills. My way to distribute the tool was to create an installer with all the requirements, including the python executable and the libraries. For this purpose, I tried to make a virtual environment (used pipenv to create it) and copied the resultant work directory with

Create standalone environment for Python [duplicate]

末鹿安然 提交于 2019-12-24 07:42:56
问题 This question already has answers here : Create a single executable from a Python project (2 answers) Closed 5 months ago . I'm developing a tool based on Python, and I need to distribute this tool for users without technical skills. My way to distribute the tool was to create an installer with all the requirements, including the python executable and the libraries. For this purpose, I tried to make a virtual environment (used pipenv to create it) and copied the resultant work directory with

compile python application with setup.py

≯℡__Kan透↙ 提交于 2019-12-12 01:11:45
问题 I already pointed at the problem of exporting my pygame into an executable for distribution purpose. I still have the problem that when I run the setup.py (I use python version 3.7.0) and build the app, the app directly crashes and I cannot open the unix executable either. Here is exactly what I did so far: my setup.py: from cx_Freeze import setup, Executable # Dependencies are automatically detected, but it might need # fine tuning. build_exe_options = {"include_files" : ["pic.png", "sound

Py2app fails with scrapy

◇◆丶佛笑我妖孽 提交于 2019-12-11 19:02:10
问题 If been trying to create a standalone version of my project. I've been able to create the setup file and the alias app with py2app with no problems. Running the alias app works without problems. However, when creating the independent file the app does not run any more. First of all the error i receive upon opening the app is as follows: File "scrapy/__init__.pyc", line 10, in <module> File "pkgutil.pyc", line 616, in get_data File "importlib/util.pyc", line 83, in find_spec AttributeError: