Содержание
- Package installation issues
- Install a package using the Terminal
- Install a package on a virtual environment
- Install a package on a Conda environment
- Install a package on a system interpreter
- Parse the results
- Review typical cases
- Русские Блоги
- Плагин установки Sublime Text или установка PackageControl не удалось
- Решение:
- Troubleshooting packaging, deployment, and query of Windows apps
- Get diagnostic information
- Common error codes
- Applications don’t start and their names are dimmed
Package installation issues
You might encounter a problem when installing a Python package in the project settings or in the Python Package tool window. Eventually, most of the issues are out of IDE control as PyCharm uses the pip package manager to perform the actual installation.
This article provides troubleshooting tips and covers some typical cases.
Install a package using the Terminal
The most viable troubleshooting action is to try installing the problematic package on the selected Python interpreter using the terminal. If you get an identical error message, then the problem is not in the IDE and you should review the rationales and typical cases, or search for a solution on the Internet.
Install a package on a virtual environment
Press Ctrl+Alt+S to open the IDE settings and select Project
Expand the list of the available interpreters and click the Show All link.
Locate the target interpreter and press .
Copy or memorize the path of the virtual environment and close the dialogs.
Open the terminal and run the following commands:
Install a package on a Conda environment
Open the terminal and run the following commands:
See Conda documentation for more information on how to activate an environment.
One of the possible failure cases occurs when the target package is not available in the repositories supported by the Conda package manager.
Install a package on a system interpreter
To check the path of the currently selected system interpreter that you were trying to install a package on, press Ctrl+Alt+S and go to Project:
Expand the list of the project interpreters and scroll it down, then select the Show All item.
Locate the interpreter and press .
Copy or memorize the path of the environment and close the dialogs.
Open the terminal and run the following commands:
You might need the admin privileges to install packages on a system interpreter.
Parse the results
The package cannot be installed because the Python version doesn’t satisfy the package requirement.
Try to create another Python interpreter that is based on the Python version that meets the requirement.
The package cannot be installed because you don’t have permissions to install it.
Try to install the package using super-user privileges, for example, sudo pip install
The package cannot be installed because the package is not available in the repository that is supported by the selected package manager. Example: you’re trying to install a package that is not available in the Conda package manager repositories.
Try to configure another type of Python interpreter for your project and install the package on it. See how to add and modify a Python interpreter in Configure a Python interpreter.
The package cannot be installed and it matches one of the typical package installation failure cases.
Check the cases and apply related workarounds.
The package is successfully installed.
File an issue in the PyCharm issue tracker and provide explicit details about the case including all console output, error messages, and screenshots indicating that you tried to install the package on the same interpreter in the terminal and in the project settings or in the Python Packages tool window.
Review typical cases
fatal error: ‘SDL.h’ file not found
Installation fails because the package requires SDL, and pip cannot detect it. Try the following commands:
Cannot open include file: ‘portaudio.h’
Try to run the following commands using the admin privileges:
SSL module in Python is not available
Install an openssl library by the way specific to your operating system. See the detailed solutions.
Источник
Русские Блоги
Плагин установки Sublime Text или установка PackageControl не удалось
Код ошибки выглядит следующим образом:
Хотя я дал адрес ссылки, я не могу получить доступ к нему.
Решение:
Пакет Control.sublime-Package-файлы в каталоге установки в Sublime, установленном в каталоге установки.
Мой путь установки: [D: Project Sublime Text 3 Data Установленные пакеты]
PS: Я открывающую каталог установки после завершения установки, создайте папку данных в пакетах на том же уровне, и запустите команду Sublime после создания завершения, и некоторые папки генерируются в папке данных.
После завершения операции перезапустите Sublime можно увидеть следующее меню, нет предыдущего:
1 Откройте метод консоли: View-> Show Console
3 Вставьте код в консоли, нажмите Enter
4 После завершения установки:
3, Ctrl + Shift + P Тонированное плагин Sublime установки, введите Установить и выберите Установить пакет
4, как показано на рисунке
5, не спешите, просто настройте файл (Channel_V3.json, файл также находится в сетевом диске Baidu). Поместите загруженные файл Channel_v3.json в каталог Sublime установки, мое местоположение: D: Project Sublime Text 3 Data Channel_v3.json
Откройте Sublime Text3, выберите «Настройки» >> Настройки пакета >> Управление пакетами >> Настройка — пользователь, добавьте следующий код:
PS: обратите внимание на синдром, поэтому путь папки должен обратить внимание на
Затем сохраните файл и перезапустите Sublime, снова перезагрузите плагин.
Источник
Troubleshooting packaging, deployment, and query of Windows apps
Use these suggestions to troubleshoot problems you experience when packaging, deploying, or querying a Windows app package (.msix/.appx) as a developer.
This article is intended for developers. If you are not a developer and you are looking for help with a Windows app installation error, see Windows support.
Get diagnostic information
When an API fails, it returns an error code that describes the problem. If the error code doesn’t provide enough information, you find more diagnostic information in the detailed event logs.
To access the packaging and deployment event logs by using Event Viewer, follow these steps:
Perform one of the following steps:
- Click Start on the Windows menu, type Event Viewer, and press Enter.
- Run eventvwr.msc.
In the left page, expand Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.
Check for available logs under these categories:
- AppxPackagingOM >Microsoft-Windows-AppxPackaging/Operational
- AppXDeployment-Server >Microsoft-Windows-AppXDeploymentServer/Operational
Start by looking at the logs under AppXDeployment-Server. If the error was caused by 0x80073CF0 or ERROR_INSTALL_OPEN_PACKAGE_FAILED, additional details may be present in the AppxpackagingOM logs.
You can also use the Get-AppxLog command in PowerShell to get the first few logged events. The following example displays the logs associated with the most recent deployment operation.
The following example displays the logs associated with the most recent deployment operation in an interactive table in a separate window.
Common error codes
This table lists some of the most common error codes. If you need further help with one of these errors, or if you’re encountering an error code not in this list, see additional help options.
Error code | Value | Description and possible causes |
---|---|---|
E_FILENOTFOUND | 0x80070002 | File or path is not found. This can occur during a COM typelib validation requires that the path for the directory actually exist within your MSIX package. |
ERROR_BAD_FORMAT | 0x8007000B | The package isn’t correctly formatted and needs to be re-built or re-signed. You may get this error if there is a mismatch between the signing certificate subject name and the AppxManifest.xml publisher name. See How to sign an app package using SignTool. |
E_INVALIDARG | 0x80070057 | One or more arguments are not valid. If you check the AppXDeployment-Server event log and see the following event: «While installing the package, the system failed to register the windows.repositoryExtension extension due to the following error: The parameter is incorrect.» You may get this error if the manifest elements DisplayName or Description contain characters disallowed by Windows firewall such as | , due to which Windows fails to create the AppContainer profile for the package. Please remove these characters from the manifest and try installing the package. |
ERROR_INSTALL_OPEN_ PACKAGE_FAILED |
0x80073CF0 | The package couldn’t be opened. Possible causes:
For more information, check the AppxPackagingOM event log. |
ERROR_INSTALL_PACKAGE_ NOT_FOUND |
0x80073CF1 | The package couldn’t be found. You may get this error while removing a package that isn’t installed for the current user. |
ERROR_INSTALL_INVALID_ PACKAGE |
0x80073CF2 | The package data isn’t valid. |
ERROR_INSTALL_RESOLVE_ DEPENDENCY_FAILED |
0x80073CF3 | The package failed update, dependency, or conflict validation. Possible causes:
For more informtion, check the AppXDeployment-Server event log. |
ERROR_INSTALL_OUT_ OF_DISK_SPACE |
0x80073CF4 | There isn’t enough disk space on your computer. Free some space and try again. |
ERROR_INSTALL_NETWORK_ FAILURE |
0x80073CF5 | The package can’t be downloaded. |
ERROR_INSTALL_ REGISTRATION_FAILURE |
0x80073CF6 | The package can’t be registered. For more information, check the AppXDeployment-Server event log. |
ERROR_INSTALL_ DEREGISTRATION_EFAILURE |
0x80073CF7 | The package can’t be unregistered. You may get this error while removing a package. For more information, check the AppXDeployment-Server event log. |
ERROR_INSTALL_CANCEL | 0x80073CF8 | The user canceled the install request. |
ERROR_INSTALL_FAILED | 0x80073CF9 | Package install failed. Contact the software vendor. For more information, check the AppXDeployment-Server event log. |
ERROR_REMOVE_FAILED | 0x80073CFA | Package removal failed. You may get this error for failures that occur during package uninstall. For more information, see RemovePackageAsync. |
ERROR_PACKAGE_ ALREADY_EXISTS |
0x80073CFB | The provided package is already installed, and reinstallation of the package is blocked. You may get this error if installing a package that is not bitwise identical to the package that is already installed. Note that the digital signature is also part of the package. Hence if a package is rebuilt or resigned, it is no longer bitwise identical to the previously installed package. Two possible options to fix this error are: (1) Increment the version number of the app, then rebuild and resign the package (2) Remove the old package for every user on the system before installing the new package. |
ERROR_NEEDS_REMEDIATION | 0x80073CFC | The app can’t be started. Try reinstalling the app. |
ERROR_INSTALL_ PREREQUISITE_FAILED |
0x80073CFD | A specified install prerequisite couldn’t be satisfied. |
ERROR_PACKAGE_ REPOSITORY_CORRUPTED |
0x80073CFE | The package repository is corrupted. You may get this error if the folder referenced by this registry key doesn’t exist or is corrupted: HKLMSoftwareMicrosoftWindows CurrentVersionAppxPackageRepositoryRoot To recover from this state, refresh your PC. |
ERROR_INSTALL_ POLICY_FAILURE |
0x80073CFF | To install this app, you need a developer license or a sideloading-enabled system. You may get this error if the package doesn’t meet one of the following requirements:
|
ERROR_PACKAGE_UPDATING | 0x80073D00 | The app can’t be started because it’s currently updating. |
ERROR_DEPLOYMENT_ BLOCKED_BY_POLICY |
0x80073D01 | The package deployment operation is blocked by policy. Contact your system administrator. Possible causes:
One of the possible reasons is a need for a roaming profile. For information about setting up Roaming User Profiles on user accounts, see Deploy Roaming User Profiles. If there are no policies configured on your system and you still see this error, perhaps you are logged in with a temporary profile. Log out and log in again, then try the operation again. |
ERROR_PACKAGES_IN_USE | 0x80073D02 | The package couldn’t be installed because resources it modifies are currently in use. |
ERROR_RECOVERY_ FILE_CORRUPT |
0x80073D03 | The package couldn’t be recovered because data that’s necessary for recovery is corrupted. |
ERROR_INVALID_ STAGED_SIGNATURE |
0x80073D04 | The signature isn’t valid. To register in developer mode, AppxSignature.p7x and AppxBlockMap.xml must be valid or shouldn’t be present. If you are a developer using F5 with Visual Studio, ensure that your built project directory doesn’t contain signature or block map files from previous versions of the package. |
ERROR_DELETING_EXISTING_ APPLICATIONDATA_STORE_FAILED |
0x80073D05 | An error occurred while deleting the package’s previously existing application data. You can get this error if the simulator is running. Close the simulator. You can also get this error if there are files open in the app data (for example, if you have a log file open in a text editor). |
ERROR_INSTALL_ PACKAGE_DOWNGRADE |
0x80073D06 | The package couldn’t be installed because a higher version of this package is already installed. |
ERROR_SYSTEM_ NEEDS_REMEDIATION |
0x80073D07 | An error in a system binary was detected. To fix the problem, try refreshing the PC. |
ERROR_APPX_INTEGRITY_ FAILURE_EXTERNAL |
0x80073D08 | A corrupted non-Windows binary was detected on the system. |
ERROR_RESILIENCY_ FILE_CORRUPT |
0x80073D09 | The operation couldn’t be resumed because data that’s necessary for recovery is corrupted. |
ERROR_INSTALL_FIREWALL_ SERVICE_NOT_RUNNING |
0x80073D0A | The package couldn’t be installed because the Windows Firewall service isn’t running. Enable the Windows Firewall service and try again. |
ERROR_PACKAGE_MOVE_FAILED | 0x80073D0B | The package move operation failed. |
ERROR_INSTALL_VOLUME_ NOT_EMPTY |
0x80073D0C | The deployment operation failed because the volume is not empty. |
ERROR_INSTALL_VOLUME_ OFFLINE |
0x80073D0D | The deployment operation failed because the volume is offline. For a package update, the volume refers to the installed volume of all package versions. |
ERROR_INSTALL_VOLUME_ CORRUPT |
0x80073D0E | The deployment operation failed because the specified volume is corrupt. |
ERROR_NEEDS_REGISTRATION | 0x80073D0F | The deployment operation failed because the specified application needs to be registered first. |
ERROR_INSTALL_WRONG_ PROCESSOR_ARCHITECTURE |
0x80073D10 | The deployment operation failed because the package targets the wrong processor architecture. |
ERROR_DEV_SIDELOAD_ LIMIT_EXCEEDED |
0x80073D11 | You have reached the maximum number of developer sideloaded packages allowed on this device. Please uninstall a sideloaded package and try again. |
ERROR_INSTALL_OPTIONAL_ PACKAGE_REQUIRES_ MAIN_PACKAGE |
0x80073D12 | A main app package is required to install this optional package. Install the main package first and try again. |
ERROR_PACKAGE_NOT_ SUPPORTED_ON_FILESYSTEM |
0x80073D13 | This app package type is not supported on this filesystem. |
ERROR_PACKAGE_MOVE_ BLOCKED_BY_STREAMING |
0x80073D14 | Package move operation is blocked until the application has finished streaming. |
ERROR_INSTALL_OPTIONAL_ PACKAGE_APPLICATIONID_ NOT_UNIQUE |
0x80073D15 | A main or another optional app package has the same application ID as this optional package. Change the application ID for the optional package to avoid conflicts. |
ERROR_PACKAGE_STAGING_ ONHOLD |
0x80073D16 | This staging session has been held to allow another staging operation to be prioritized. |
ERROR_INSTALL_INVALID_ RELATED_SET_UPDATE |
0x80073D17 | A related set cannot be updated because the updated set is invalid. All packages in the related set must be updated at the same time. |
ERROR_INSTALL_OPTIONAL_ PACKAGE_REQUIRES_MAIN_ PACKAGE_FULLTRUST_CAPABILITY |
0x80073D18 | An optional package with a FullTrust entry point requires the main package to have the runFullTrust capability. |
ERROR_DEPLOYMENT_BLOCKED_ BY_USER_LOG_OFF |
0x80073D19 | An error occurred because a user was logged off. |
ERROR_PROVISION_OPTIONAL_ PACKAGE_REQUIRES_MAIN_ PACKAGE_PROVISIONED |
0x80073D1A | An optional package provision requires the dependency main package to also be provisioned. |
ERROR_PACKAGES_REPUTATION_ CHECK_FAILED |
0x80073D1B | The packages failed the SmartScreen reputation check. |
ERROR_PACKAGES_REPUTATION_ CHECK_TIMEDOUT |
0x80073D1C | The SmartScreen reputation check operation timed out. |
ERROR_DEPLOYMENT_OPTION_ NOT_SUPPORTED |
0x80073D1D | The current deployment option is not supported. |
ERROR_APPINSTALLER_ ACTIVATION_BLOCKED |
0x80073D1E | Activation is blocked due to the .appinstaller update settings for this app. |
ERROR_REGISTRATION_FROM_ REMOTE_DRIVE_NOT_SUPPORTED |
0x80073D1F | Remote drives are not supported. Use servershare to register a remote package. |
ERROR_APPX_RAW_ DATA_WRITE_FAILED |
0x80073D20 | Failed to process and write downloaded package data to disk. |
ERROR_DEPLOYMENT_BLOCKED_ BY_VOLUME_POLICY_PACKAGE |
0x80073D21 | The deployment operation was blocked due to a per-package-family policy restricting deployments on a non-system volume. Per policy, this app must be installed to the system drive, but that’s not set as the default. In Storage settings, make the system drive the default location to save new content, then retry the install. |
ERROR_DEPLOYMENT_BLOCKED_ BY_VOLUME_POLICY_MACHINE |
0x80073D22 | The deployment operation was blocked due to a machine-wide policy restricting deployments on a non-system volume. Per policy, this app must be installed to the system drive, but that’s not set as the default. In Storage settings, make the system drive the default location to save new content, then retry the install. |
ERROR_DEPLOYMENT_BLOCKED_ BY_PROFILE_POLICY |
0x80073D23 | The deployment operation was blocked because special profile deployment is not allowed (special profiles are user profiles where changes are discarded after the user signs out). Try logging into an account that is not a special profile. You can try logging out and logging back into the current account, or try logging into a different account. |
ERROR_DEPLOYMENT_FAILED_ CONFLICTING_MUTABLE_PACKAGE_ DIRECTORY |
0x80073D24 | The deployment operation failed due to a conflicting package’s mutable package directory. To install this package, remove the existing package with the conflicting mutable package directory. |
ERROR_SINGLETON_RESOURCE_ INSTALLED_IN_ACTIVE_USER |
0x80073D25 | The package installation failed because a singleton resource was specified and another user with that package installed is logged in. Make sure that all active users with the package installed are logged out and retry installation. |
ERROR_DIFFERENT_VERSION_ OF_PACKAGED_SERVICE_INSTALLED |
0x80073D26 | The package installation failed because a different version of the service is installed. Try installing a newer version of the package. |
ERROR_SERVICE_EXISTS_ AS_NON_PACKAGED_SERVICE |
0x80073D27 | The package installation failed because a version of the service exists outside of an .msix/.appx package. Contact your software vendor. |
ERROR_PACKAGED_SERVICE_ REQUIRES_ADMIN_PRIVILEGES |
0x80073D28 | The package installation failed because administrator privileges are required. Contact an administrator to install this package. |
ERROR_REDIRECTION_TO_ DEFAULT_ACCOUNT_NOT_ALLOWED |
0x80073D29 | The package deployment failed because the operation would have redirected to default account, when the caller said not to do so. |
ERROR_PACKAGE_LACKS_ CAPABILITY_TO_DEPLOY_ON_HOST |
0x80073D2A | The package deployment failed because the package requires a capability to natively target this host. |
ERROR_UNSIGNED_PACKAGE_ INVALID_CONTENT |
0x80073D2B | The package deployment failed because its content is not valid for an unsigned package. |
ERROR_UNSIGNED_PACKAGE_ INVALID_PUBLISHER_NAMESPACE |
0x80073D2C | The package deployment failed because its publisher is not in the unsigned namespace. |
ERROR_SIGNED_PACKAGE_ INVALID_PUBLISHER_NAMESPACE |
0x80073D2D | The package deployment failed because its publisher is not in the signed namespace. |
ERROR_PACKAGE_EXTERNAL_ LOCATION_NOT_ALLOWED |
0x80073D2E | The package deployment failed because its publisher is not in the signed namespace. |
ERROR_INSTALL_FULLTRUST_ HOSTRUNTIME_REQUIRES_MAIN_ PACKAGE_FULLTRUST_CAPABILITY |
0x80073D2F | A host runtime dependency resolving to a package with full trust content requires the main package to have the runFullTrust capability. |
APPX_E_PACKAGING_INTERNAL | 0x80080200 | The packaging API has encountered an internal error. |
APPX_E_INTERLEAVING_ NOT_ALLOWED |
0x80080201 | The package isn’t valid because its contents are interleaved. |
APPX_E_RELATIONSHIPS_ NOT_ALLOWED |
0x80080202 | The package isn’t valid because it contains OPC relationships. |
APPX_E_MISSING_ REQUIRED_FILE |
0x80080203 | The package isn’t valid because it’s missing a manifest or block map, or a code integrity file is present but a signature file is missing. Ensure that the package isn’t missing one or more of these required files:
If the package contains AppxMetadataCodeIntegrity.cat, it must also contain AppxSignature.p7x. |
APPX_E_INVALID_MANIFEST | 0x80080204 | The package’s AppxManifest.xml file isn’t valid. |
APPX_E_INVALID_BLOCKMAP | 0x80080205 | The package’s AppxBlockMap.xml file isn’t valid. |
APPX_E_CORRUPT_CONTENT | 0x80080206 | The package contents can’t be read because it’s corrupted. |
APPX_E_BLOCK_ HASH_INVALID |
0x80080207 | The computed hash value of the block doesn’t match the has value stored in the block map. |
APPX_E_REQUESTED_ RANGE_TOO_LARGE |
0x80080208 | The requested byte range is over 4 GB when translated to a byte range of blocks. |
TRUST_E_NOSIGNATURE | 0x800B0100 | No signature is present in the subject. You may get this error if the package is unsigned or the signature isn’t valid. The package must be signed to be deployed. |
CERT_E_UNTRUSTEDROOT | 0x800B0109 | A certificate chain processed, but terminated in a root certificate which isn’t trusted by the trust provider. See Signing a package. |
CERT_E_CHAINING | 0x800B010A | A certificate chain couldn’t be built to a trusted root certification authority. See Signing a package. |
APPX_E_INVALID_ SIP_CLIENT_DATA |
0x80080209 | The SIP_SUBJECTINFOstructure used to sign the package didn’t contain the required data |
APPX_E_INVALID_ KEY_INFO |
0x8008020A | The APPX_KEY_INFO structure used to encrypt or decrypt the package contains invalid data. |
APPX_E_INVALID_ CONTENTGROUPMAP |
0x8008020B | The .msix/.appx package’s content group map is invalid. |
APPX_E_INVALID_ APPINSTALLER |
0x8008020C | The .appinstaller file for the package is invalid. |
APPX_E_DELTA_BASELINE_ VERSION_MISMATCH |
0x8008020D | The baseline package version in delta package does not match the version in the baseline package to be updated. |
APPX_E_DELTA_PACKAGE_ MISSING_FILE |
0x8008020E | The delta package is missing a file from the updated package. |
APPX_E_INVALID_ DELTA_PACKAGE |
0x8008020F | The delta package is invalid. |
APPX_E_DELTA_APPENDED_ PACKAGE_NOT_ALLOWED |
0x80080210 | The delta appended package is not allowed for the current operation. |
APPX_E_INVALID_ PACKAGING_LAYOUT |
0x80080211 | The packaging layout file is invalid. |
APPX_E_INVALID_ PACKAGESIGNCONFIG |
0x80080212 | The packageSignConfig file is invalid. |
APPX_E_RESOURCESPRI_ NOT_ALLOWED |
0x80080213 | The resources.pri file is not allowed when there are no resource elements in the package manifest. |
APPX_E_FILE_ COMPRESSION_MISMATCH |
0x80080214 | The compression state of file in baseline and updated package does not match. |
APPX_E_INVALID_ PAYLOAD_PACKAGE_EXTENSION |
0x80080215 | Non .appx extensions are not allowed for payload packages targeting older platforms. |
APPX_E_INVALID_ ENCRYPTION_EXCLUSION_FILE_LIST |
0x80080216 | The encryptionExclusionFileList file is invalid. |
Applications don’t start and their names are dimmed
On a computer running Windows 10 or later, you can’t start some applications, and the application names appear dimmed.
When you try to open an application by selecting the dimmed name, you may receive one of the following error messages:
There’s a problem with . Contact your system administrator about repairing or reinstalling it
Error: This app can’t open
Additionally, the following event entries are logged in the «Microsoft-Windows-TWinUI/Operational» log under Applications and ServicesMicrosoftWindowsApps:
Источник
running pip install django-salesforce on my windows 7, i get an error.
File «C:Python27libdistutilsutil.py», line 124, in convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path ‘/Users/pchristensen/Workspace/django-salesforce/.editorconfig’ cannot be absolute
Downloading the package from https://pypi.python.org/pypi/django-salesforce/0.3.1, I see in the file django-salesforce-0.3.1django_salesforce.egg-infoSOURCES.txt that Lines 15 — 65 all start with «/Users/pchristensen/Workspace/».
/Users/pchristensen/Workspace/django-salesforce/.editorconfig
…
/Users/pchristensen/Workspace/django-salesforce/salesforce/tests/test_integration.py
Full Error Details
Install packages failed: Error occurred when installing package django-salesforce.
The following command was executed:
packaging_tool.py install —build-dir C:UsersUserXAppDataLocalTemppycharm-packaging8918208384109524032.tmp django-salesforce
The error output of the command:
DEPRECATION: —no-install, —no-download, —build, and —no-clean are deprecated. See pypa/pip#906.
Downloading/unpacking django-salesforce
Running setup.py (path:C:UsersUserXAppDataLocalTemppycharm-packaging8918208384109524032.tmpdjango-salesforcesetup.py) egg_info for package django-salesforce
package version: 0.3.1
Installed c:usersUserXappdatalocaltemppycharm-packaging8918208384109524032.tmpdjango-salesforcesetuptools_git-1.0-py2.7.egg
Installing collected packages: django-salesforce
Running setup.py install for django-salesforce
package version: 0.3.1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersUserXAppDataLocalTemppycharm-packaging8918208384109524032.tmpdjango-salesforcesetup.py", line 90, in <module>
dist = autosetup()
File "C:UsersUserXAppDataLocalTemppycharm-packaging8918208384109524032.tmpdjango-salesforcesetup.py", line 86, in autosetup
url = "https://github.com/freelancersunion/django-salesforce",
File "C:Python27libdistutilscore.py", line 152, in setup
dist.run_commands()
File "C:Python27libdistutilsdist.py", line 953, in run_commands
self.run_command(cmd)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandinstall.py", line 59, in run
return orig.install.run(self)
File "C:Python27libdistutilscommandinstall.py", line 563, in run
self.run_command('build')
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libdistutilscommandbuild.py", line 127, in run
self.run_command(cmd_name)
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 43, in run
self.build_package_data()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 98, in build_package_data
for package, src_dir, build_dir, filenames in self.data_files:
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 55, in __getattr__
self.data_files = files = self._get_data_files()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 67, in _get_data_files
self.analyze_manifest()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 117, in analyze_manifest
self.run_command('egg_info')
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 164, in run
self.find_sources()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 187, in find_sources
mm.run()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 271, in run
self.add_defaults()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 307, in add_defaults
self.read_manifest()
File "C:Python27libsite-packagessetuptoolscommandsdist.py", line 244, in read_manifest
self.filelist.append(line)
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 211, in append
path = convert_path(item)
File "C:Python27libdistutilsutil.py", line 124, in convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/Users/pchristensen/Workspace/django-salesforce/.editorconfig' cannot be absolute
Complete output from command C:UsersUserX.virtualenvsAppXScriptspython.exe -c "import setuptools, tokenize;__file__='C:\Users\UserX\AppData\Local\Temp\pycharm-packaging8918208384109524032.tmp\django-salesforce\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record c:usersUserXappdatalocaltemppip-lohuys-recordinstall-record.txt --single-version-externally-managed --compile:
package version: 0.3.1
running install
running build
running build_py
creating build
creating buildlib
creating buildlibsalesforce
copying salesforceadmin.py -> buildlibsalesforce
copying salesforceauth.py -> buildlibsalesforce
copying salesforcefields.py -> buildlibsalesforce
copying salesforcemodels.py -> buildlibsalesforce
copying salesforcerouter.py -> buildlibsalesforce
copying salesforce__init__.py -> buildlibsalesforce
creating buildlibsalesforcebackend
copying salesforcebackendaggregates.py -> buildlibsalesforcebackend
copying salesforcebackendbase.py -> buildlibsalesforcebackend
copying salesforcebackendclient.py -> buildlibsalesforcebackend
copying salesforcebackendcompiler.py -> buildlibsalesforcebackend
copying salesforcebackendcreation.py -> buildlibsalesforcebackend
copying salesforcebackenddriver.py -> buildlibsalesforcebackend
copying salesforcebackendintrospection.py -> buildlibsalesforcebackend
copying salesforcebackendmanager.py -> buildlibsalesforcebackend
copying salesforcebackendoperations.py -> buildlibsalesforcebackend
copying salesforcebackendquery.py -> buildlibsalesforcebackend
copying salesforcebackendvalidation.py -> buildlibsalesforcebackend
copying salesforcebackend__init__.py -> buildlibsalesforcebackend
creating buildlibsalesforcemanagement
copying salesforcemanagement__init__.py -> buildlibsalesforcemanagement
creating buildlibsalesforcetestrunner
copying salesforcetestrunnersettings.py -> buildlibsalesforcetestrunner
copying salesforcetestrunnerurls.py -> buildlibsalesforcetestrunner
copying salesforcetestrunner__init__.py -> buildlibsalesforcetestrunner
creating buildlibsalesforcetests
copying salesforceteststest_auth.py -> buildlibsalesforcetests
copying salesforceteststest_browser.py -> buildlibsalesforcetests
copying salesforceteststest_integration.py -> buildlibsalesforcetests
copying salesforcetests__init__.py -> buildlibsalesforcetests
creating buildlibsalesforcemanagementcommands
copying salesforcemanagementcommandsinspectdb.py -> buildlibsalesforcemanagementcommands
copying salesforcemanagementcommands__init__.py -> buildlibsalesforcemanagementcommands
creating buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexampleadmin.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexampleforms.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexamplemodels.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexampletests.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexampleurls.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexampleviews.py -> buildlibsalesforcetestrunnerexample
copying salesforcetestrunnerexample__init__.py -> buildlibsalesforcetestrunnerexample
running egg_info
writing django_salesforce.egg-infoPKG-INFO
writing top-level names to django_salesforce.egg-infotop_level.txt
writing dependency_links to django_salesforce.egg-infodependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'django_salesforce.egg-infoSOURCES.txt'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersUserXAppDataLocalTemppycharm-packaging8918208384109524032.tmp
django-salesforcesetup.py", line 90, in <module>
dist = autosetup()
File "C:UsersUserXAppData...django-salesforcesetup.py", line 86, in autosetup
url = "https://github.com/freelancersunion/django-salesforce",
File "C:Python27libdistutilscore.py", line 152, in setup
dist.run_commands()
File "C:Python27libdistutilsdist.py", line 953, in run_commands
self.run_command(cmd)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandinstall.py", line 59, in run
return orig.install.run(self)
File "C:Python27libdistutilscommandinstall.py", line 563, in run
self.run_command('build')
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libdistutilscommandbuild.py", line 127, in run
self.run_command(cmd_name)
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 43, in run
self.build_package_data()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 98, in build_package_data
for package, src_dir, build_dir, filenames in self.data_files:
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 55, in **getattr**
self.data_files = files = self._get_data_files()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 67, in _get_data_files
self.analyze_manifest()
File "C:Python27libsite-packagessetuptoolscommandbuild_py.py", line 117, in analyze_manifest
self.run_command('egg_info')
File "C:Python27libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:Python27libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 164, in run
self.find_sources()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 187, in find_sources
mm.run()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 271, in run
self.add_defaults()
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 307, in add_defaults
self.read_manifest()
File "C:Python27libsite-packagessetuptoolscommandsdist.py", line 244, in read_manifest
self.filelist.append(line)
File "C:Python27libsite-packagessetuptoolscommandegg_info.py", line 211, in append
path = convert_path(item)
File "C:Python27libdistutilsutil.py", line 124, in convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/Users/pchristensen/Workspace/django-salesforce/.editorconfig' cannot be absolute
Уведомления
- Начало
- » Инструментальные средства разработки
- » Pycharm и установка PIL в env
#1 Окт. 27, 2012 11:17:06
Pycharm и установка PIL в env
Здравствуйте.
Не могу разобраться, как установить PIL в PyCharm в созданное виртуальное окружение?
ОС Windows
Офлайн
- Пожаловаться
#2 Окт. 28, 2012 10:52:49
Pycharm и установка PIL в env
File -> Settings -> Projeсt Interpreter -> Configure Interpeters -> Выбираешь своё вирт. окр-е -> Снизу в таблице “Packages” тыкаешь кнопку Install -> в поле поиска пишешь PIL -> тыкаешь его в найденном списке -> Install Package =) Сам же мог сделать…
Отредактировано buddha (Окт. 28, 2012 10:52:57)
Офлайн
- Пожаловаться
#3 Окт. 28, 2012 13:27:45
Pycharm и установка PIL в env
Конечно сам мог бы сделать, если бы PIL устанавливался так, как вы написали. Однако, он выдает ошибку “Install packages failed: Error occurred when installing package PIL.” И если без виртуального окружения я его поставил через exe, скачанный с сайта, то для виртуального окружения я не знаю как решить проблему
Отредактировано maksyun (Окт. 28, 2012 13:28:14)
Офлайн
- Пожаловаться
#4 Окт. 28, 2012 18:57:32
Pycharm и установка PIL в env
У меня была постоянно проблема с установкой pil на ubuntu. У pil еще есть зависимости.
Там всё сводилось к тому, что нужно было вручную скачивать пакеты для ubuntu, отвечающие за работу с изображениями.
На windows проблема та же, но вот решать нужно по другому, нежели в ubuntu. Я этого не делал…
Вот тебе статья для разминки =), вроде оно http://users.livejournal.com/__hedin/216279.html
Офлайн
- Пожаловаться
#6 Окт. 28, 2012 19:38:02
Pycharm и установка PIL в env
Спасибо, видимо придется скачивать исходники и через консоль в виртуальное окружение самому ставить, раз PyCharm не хочет
Офлайн
- Пожаловаться
#7 Окт. 28, 2012 20:19:23
Pycharm и установка PIL в env
Думаю, то что ты через консоль установил , не значит что всё ок.
Наверняка эта же проблема вскроется чуть позже…
Ну уже знаешь куда глядеть, так что разберешься
Офлайн
- Пожаловаться