Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
package(s) error pykdtree
#1
Hi all,

I have just joined the forum,
I started programming in Python, only recently.

I have installed Anaconda, and PyCharm.

I had installed some packages that were working fine, but suddenly, PyCharm issues an error when I try to run my program.

For example, (just one example)

'File "C:/Users/zahid/PycharmProjects/PathFinder/test.py", line 2, in <module>
from pykdtree.kdtree import KDTree
File "__init__.pxd", line 163, in init pykdtree.kdtree'


In the beginning of the file, test.py, I have the following statement:

from pykdtree.kdtree import KDTree

It happened only recently, and I do not know the reason.
I am using Python 3.7

I have done the following: Within PyCharm
I choose, File -> Settings
then, Project Interpreter
I have the following Project Interpreter
C:\Users\zahid\Anaconda3\python.exe

On the right side, I click on green circle (use Conda Package Manager)
then, I search for 'pip', and double click,
In the next window, I search
pykdtree

and click, install package

and it says, package installed successfully,


Two Questions:

(1) if I had done this process, why on my second time, when I land this window, the respective package (pykdtree in this case is uninstalled)

(2) If I run again my program, the problem still remains,


When, I open the Anaconda Prompt, and try

pip install pykdtree,

it says the following ,
Requirement already satisfied: pykdtree in c:\users\zahid\anaconda3\lib\site-packages (1.3.1)
Requirement already satisfied: numpy in c:\users\zahid\anaconda3\lib\site-packages (from pykdtree) (1.16.2)

Where is the problem,

please somebody can help me,

thank you !!

Zahid
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  qpython package error Creepy 4 947 Jul-06-2023, 05:58 PM
Last Post: Creepy
  countryinfo package error MarcusAurelius 4 2,773 Mar-20-2021, 05:42 PM
Last Post: deanhystad
  error with netcdf4 package damdam 0 1,793 Nov-18-2020, 06:44 PM
Last Post: damdam
  Importing module from a package results in import error goghvv 2 2,342 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Beginner - simple package installation error mefeng2008 0 1,699 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Error importing package julio2000 3 3,709 Jan-26-2020, 06:15 PM
Last Post: buran
  Error in importing package in pycharm fullstop 0 2,315 Dec-12-2019, 04:03 PM
Last Post: fullstop
  error using geoGen package from GITHUB hknarahari 4 3,226 Sep-17-2019, 06:59 AM
Last Post: buran
  Error while importing my own package giu88 4 2,913 Sep-19-2018, 12:18 PM
Last Post: giu88
  Countryinfo package charmap error mkaru 6 7,192 Sep-16-2018, 02:58 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020