moved project to new machine, but package list is empty. have to manually re-add dozens of packages, one at a time.
hello, thanks, i am using professional user.
so i tried to move a project to a new machine.
and so far, terribly frustraing process, i would like to believe i made a mistake, as this should not be complex.
1. on the old machine, i exported the ide settings as per https://intellij-support.jetbrains.com/hc/en-us/community/posts/4408659858706-Export-Import-projects-to-new-computer
and when i started pycharm, it default to the new terrible ui, tooks a long time for me to figure out how to use the current/old i. in the end, not a huge deal.
2. now for the real problem, i followed https://intellij-support.jetbrains.com/hc/en-us/community/posts/4408659858706-Export-Import-projects-to-new-computer and it was a complete mess.
the package list is empty, i have dozens of packages and no idea what to do.
how can i just get pycharm to scan the imports in the .py file and import whatever packages need to be add.
i cannot figure out which packages are built-in and cannot be added such as os and sys. and which packages need to be-reinstalled such as pyotp. i would have thought pycharm could handle such as simple issue.
so what do i do, re-add dozens of packages, one at a time like a monkey or what?
thanks much and sorry if frustrated but this should be a trivial issue,
david
Please sign in to leave a comment.
so if i try to add package `json`, i get this long list of over 2,600 unsorted items and cannot simply find `json`.
why cannot pycharm package manager simply from the correct package?
this is the source code from .py
“import json”
\this is getting insane too complex, now again, with `import base64`, why won't pycharm display which package needs to be installed. should be very simple.
but again, pycharm fails, just displaying a dumb list of random packages.
and now, cannot install ssl???
Collecting ssl==1.16
Downloading ssl-1.16.tar.gz (33 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
Getting requirements to build wheel did not run successfully.
exit code: 1
[22 lines of output]
Traceback (most recent call last):
File "V:\falconer_project\server\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "V:\falconer_project\server\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "V:\falconer_project\server\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-6ik3_zdd\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-6ik3_zdd\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-6ik3_zdd\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\Administrator\AppData\Local\Temp\2\pip-build-env-6ik3_zdd\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 33
print 'looking for', f
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Getting requirements to build wheel did not run successfully.
exit code: 1
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Hi Asdffdsa6132!
Is the old machine still available? Can you export project modules from virtual environment in terminal via
on the old machine and install it on a new machine?
Would it work?